diff --git a/java-bigquery-data-exchange/google-cloud-bigquery-data-exchange/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/AnalyticsHubServiceClient.java b/java-bigquery-data-exchange/google-cloud-bigquery-data-exchange/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/AnalyticsHubServiceClient.java
index 1a33a7a4f79c..823b0b0703f4 100644
--- a/java-bigquery-data-exchange/google-cloud-bigquery-data-exchange/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/AnalyticsHubServiceClient.java
+++ b/java-bigquery-data-exchange/google-cloud-bigquery-data-exchange/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/AnalyticsHubServiceClient.java
@@ -27,6 +27,10 @@
import com.google.api.gax.rpc.UnaryCallable;
import com.google.cloud.bigquery.dataexchange.v1beta1.stub.AnalyticsHubServiceStub;
import com.google.cloud.bigquery.dataexchange.v1beta1.stub.AnalyticsHubServiceStubSettings;
+import com.google.cloud.location.GetLocationRequest;
+import com.google.cloud.location.ListLocationsRequest;
+import com.google.cloud.location.ListLocationsResponse;
+import com.google.cloud.location.Location;
import com.google.common.util.concurrent.MoreExecutors;
import com.google.iam.v1.GetIamPolicyRequest;
import com.google.iam.v1.Policy;
@@ -42,10 +46,11 @@
// AUTO-GENERATED DOCUMENTATION AND CLASS.
/**
- * Service Description: The AnalyticsHubService API facilitates data sharing within and across
- * organizations. It allows data providers to publish Listings --- a discoverable and searchable SKU
- * representing a dataset. Data consumers can subscribe to Listings. Upon subscription, AnalyticsHub
- * provisions a "Linked Datasets" surfacing the data in the consumer's project.
+ * Service Description: The `AnalyticsHubService` API facilitates data sharing within and across
+ * organizations. It allows data providers to publish listings that reference shared datasets. With
+ * Analytics Hub, users can discover and search for listings that they have access to. Subscribers
+ * can view and subscribe to listings. When you subscribe to a listing, Analytics Hub creates a
+ * linked dataset in your project.
*
*
This class provides the ability to make remote calls to the backing service through method
* calls that map to API methods. Sample code to get started:
@@ -180,7 +185,7 @@ public AnalyticsHubServiceStub getStub() {
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * Lists DataExchanges in a given project and location.
+ * Lists all data exchanges in a given project and location.
*
*
Sample code:
*
@@ -196,7 +201,7 @@ public AnalyticsHubServiceStub getStub() {
* }
* }
*
- * @param parent Required. The parent resource path of the DataExchanges. e.g.
+ * @param parent Required. The parent resource path of the data exchanges. e.g.
* `projects/myproject/locations/US`.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
@@ -210,7 +215,7 @@ public final ListDataExchangesPagedResponse listDataExchanges(LocationName paren
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * Lists DataExchanges in a given project and location.
+ * Lists all data exchanges in a given project and location.
*
*
Sample code:
*
@@ -226,7 +231,7 @@ public final ListDataExchangesPagedResponse listDataExchanges(LocationName paren
* }
* }
*
- * @param parent Required. The parent resource path of the DataExchanges. e.g.
+ * @param parent Required. The parent resource path of the data exchanges. e.g.
* `projects/myproject/locations/US`.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
@@ -238,7 +243,7 @@ public final ListDataExchangesPagedResponse listDataExchanges(String parent) {
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * Lists DataExchanges in a given project and location.
+ * Lists all data exchanges in a given project and location.
*
*
Sample code:
*
@@ -268,7 +273,7 @@ public final ListDataExchangesPagedResponse listDataExchanges(ListDataExchangesR
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * Lists DataExchanges in a given project and location.
+ * Lists all data exchanges in a given project and location.
*
*
Sample code:
*
@@ -298,7 +303,7 @@ public final ListDataExchangesPagedResponse listDataExchanges(ListDataExchangesR
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * Lists DataExchanges in a given project and location.
+ * Lists all data exchanges in a given project and location.
*
*
Sample code:
*
@@ -335,7 +340,7 @@ public final ListDataExchangesPagedResponse listDataExchanges(ListDataExchangesR
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * Lists DataExchanges from projects in a given organization and location.
+ * Lists all data exchanges from projects in a given organization and location.
*
*
Sample code:
*
@@ -363,7 +368,7 @@ public final ListOrgDataExchangesPagedResponse listOrgDataExchanges(String organ
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * Lists DataExchanges from projects in a given organization and location.
+ * Lists all data exchanges from projects in a given organization and location.
*
*
Sample code:
*
@@ -394,7 +399,7 @@ public final ListOrgDataExchangesPagedResponse listOrgDataExchanges(
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * Lists DataExchanges from projects in a given organization and location.
+ * Lists all data exchanges from projects in a given organization and location.
*
*
Sample code:
*
@@ -424,7 +429,7 @@ public final ListOrgDataExchangesPagedResponse listOrgDataExchanges(
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * Lists DataExchanges from projects in a given organization and location.
+ * Lists all data exchanges from projects in a given organization and location.
*
*
Sample code:
*
@@ -461,7 +466,7 @@ public final ListOrgDataExchangesPagedResponse listOrgDataExchanges(
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * Gets details of a single DataExchange.
+ * Gets the details of a data exchange.
*
*
Sample code:
*
@@ -474,7 +479,7 @@ public final ListOrgDataExchangesPagedResponse listOrgDataExchanges(
* }
* }
*
- * @param name Required. The resource name of the DataExchange. e.g.
+ * @param name Required. The resource name of the data exchange. e.g.
* `projects/myproject/locations/US/dataExchanges/123`.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
@@ -486,7 +491,7 @@ public final DataExchange getDataExchange(DataExchangeName name) {
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * Gets details of a single DataExchange.
+ * Gets the details of a data exchange.
*
*
Sample code:
*
@@ -499,7 +504,7 @@ public final DataExchange getDataExchange(DataExchangeName name) {
* }
* }
*
- * @param name Required. The resource name of the DataExchange. e.g.
+ * @param name Required. The resource name of the data exchange. e.g.
* `projects/myproject/locations/US/dataExchanges/123`.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
@@ -510,7 +515,7 @@ public final DataExchange getDataExchange(String name) {
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * Gets details of a single DataExchange.
+ * Gets the details of a data exchange.
*
*
Sample code:
*
@@ -535,7 +540,7 @@ public final DataExchange getDataExchange(GetDataExchangeRequest request) {
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * Gets details of a single DataExchange.
+ * Gets the details of a data exchange.
*
*
Sample code:
*
@@ -560,7 +565,7 @@ public final UnaryCallable getDataExchange
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * Creates a new DataExchange in a given project and location.
+ * Creates a new data exchange.
*
* Sample code:
*
@@ -574,9 +579,9 @@ public final UnaryCallable getDataExchange
* }
* }
*
- * @param parent Required. The parent resource path of the DataExchange. e.g.
+ * @param parent Required. The parent resource path of the data exchange. e.g.
* `projects/myproject/locations/US`.
- * @param dataExchange Required. The DataExchange to create.
+ * @param dataExchange Required. The data exchange to create.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final DataExchange createDataExchange(LocationName parent, DataExchange dataExchange) {
@@ -590,7 +595,7 @@ public final DataExchange createDataExchange(LocationName parent, DataExchange d
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * Creates a new DataExchange in a given project and location.
+ * Creates a new data exchange.
*
* Sample code:
*
@@ -604,9 +609,9 @@ public final DataExchange createDataExchange(LocationName parent, DataExchange d
* }
* }
*
- * @param parent Required. The parent resource path of the DataExchange. e.g.
+ * @param parent Required. The parent resource path of the data exchange. e.g.
* `projects/myproject/locations/US`.
- * @param dataExchange Required. The DataExchange to create.
+ * @param dataExchange Required. The data exchange to create.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final DataExchange createDataExchange(String parent, DataExchange dataExchange) {
@@ -620,7 +625,7 @@ public final DataExchange createDataExchange(String parent, DataExchange dataExc
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * Creates a new DataExchange in a given project and location.
+ * Creates a new data exchange.
*
*
Sample code:
*
@@ -647,7 +652,7 @@ public final DataExchange createDataExchange(CreateDataExchangeRequest request)
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * Creates a new DataExchange in a given project and location.
+ * Creates a new data exchange.
*
*
Sample code:
*
@@ -674,7 +679,7 @@ public final UnaryCallable createDataEx
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * Updates the parameters of a single DataExchange.
+ * Updates an existing data exchange.
*
* Sample code:
*
@@ -689,10 +694,10 @@ public final UnaryCallable createDataEx
* }
* }
*
- * @param dataExchange Required. The DataExchange to update.
- * @param updateMask Required. Field mask is used to specify the fields to be overwritten in the
- * DataExchange resource by the update. The fields specified in the update_mask are relative
- * to the resource, not the full request.
+ * @param dataExchange Required. The data exchange to update.
+ * @param updateMask Required. Field mask specifies the fields to update in the data exchange
+ * resource. The fields specified in the `updateMask` are relative to the resource and are not
+ * a full request.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final DataExchange updateDataExchange(DataExchange dataExchange, FieldMask updateMask) {
@@ -706,7 +711,7 @@ public final DataExchange updateDataExchange(DataExchange dataExchange, FieldMas
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * Updates the parameters of a single DataExchange.
+ * Updates an existing data exchange.
*
* Sample code:
*
@@ -732,7 +737,7 @@ public final DataExchange updateDataExchange(UpdateDataExchangeRequest request)
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * Updates the parameters of a single DataExchange.
+ * Updates an existing data exchange.
*
*
Sample code:
*
@@ -758,7 +763,7 @@ public final UnaryCallable updateDataEx
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * Deletes a single DataExchange.
+ * Deletes an existing data exchange.
*
* Sample code:
*
@@ -771,8 +776,8 @@ public final UnaryCallable updateDataEx
* }
* }
*
- * @param name Required. Resource name of the DataExchange to delete. e.g.
- * `projects/myproject/locations/US/dataExchanges/123`.
+ * @param name Required. The full name of the data exchange resource that you want to delete. For
+ * example, `projects/myproject/locations/US/dataExchanges/123`.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final void deleteDataExchange(DataExchangeName name) {
@@ -785,7 +790,7 @@ public final void deleteDataExchange(DataExchangeName name) {
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * Deletes a single DataExchange.
+ * Deletes an existing data exchange.
*
* Sample code:
*
@@ -798,8 +803,8 @@ public final void deleteDataExchange(DataExchangeName name) {
* }
* }
*
- * @param name Required. Resource name of the DataExchange to delete. e.g.
- * `projects/myproject/locations/US/dataExchanges/123`.
+ * @param name Required. The full name of the data exchange resource that you want to delete. For
+ * example, `projects/myproject/locations/US/dataExchanges/123`.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final void deleteDataExchange(String name) {
@@ -810,7 +815,7 @@ public final void deleteDataExchange(String name) {
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * Deletes a single DataExchange.
+ * Deletes an existing data exchange.
*
*
Sample code:
*
@@ -835,7 +840,7 @@ public final void deleteDataExchange(DeleteDataExchangeRequest request) {
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * Deletes a single DataExchange.
+ * Deletes an existing data exchange.
*
*
Sample code:
*
@@ -860,7 +865,7 @@ public final UnaryCallable deleteDataExchangeC
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * Lists Listings in a given project and location.
+ * Lists all listings in a given project and location.
*
* Sample code:
*
@@ -889,7 +894,7 @@ public final ListListingsPagedResponse listListings(DataExchangeName parent) {
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * Lists Listings in a given project and location.
+ * Lists all listings in a given project and location.
*
*
Sample code:
*
@@ -915,7 +920,7 @@ public final ListListingsPagedResponse listListings(String parent) {
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * Lists Listings in a given project and location.
+ * Lists all listings in a given project and location.
*
*
Sample code:
*
@@ -945,7 +950,7 @@ public final ListListingsPagedResponse listListings(ListListingsRequest request)
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * Lists Listings in a given project and location.
+ * Lists all listings in a given project and location.
*
*
Sample code:
*
@@ -976,7 +981,7 @@ public final ListListingsPagedResponse listListings(ListListingsRequest request)
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * Lists Listings in a given project and location.
+ * Lists all listings in a given project and location.
*
*
Sample code:
*
@@ -1013,7 +1018,7 @@ public final UnaryCallable listListin
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * Gets details of a single Listing.
+ * Gets the details of a listing.
*
* Sample code:
*
@@ -1038,7 +1043,7 @@ public final Listing getListing(ListingName name) {
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * Gets details of a single Listing.
+ * Gets the details of a listing.
*
*
Sample code:
*
@@ -1063,7 +1068,7 @@ public final Listing getListing(String name) {
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * Gets details of a single Listing.
+ * Gets the details of a listing.
*
*
Sample code:
*
@@ -1090,7 +1095,7 @@ public final Listing getListing(GetListingRequest request) {
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * Gets details of a single Listing.
+ * Gets the details of a listing.
*
*
Sample code:
*
@@ -1117,7 +1122,7 @@ public final UnaryCallable getListingCallable() {
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * Creates a new Listing in a given project and location.
+ * Creates a new listing.
*
* Sample code:
*
@@ -1147,7 +1152,7 @@ public final Listing createListing(DataExchangeName parent, Listing listing) {
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * Creates a new Listing in a given project and location.
+ * Creates a new listing.
*
*
Sample code:
*
@@ -1174,7 +1179,7 @@ public final Listing createListing(String parent, Listing listing) {
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * Creates a new Listing in a given project and location.
+ * Creates a new listing.
*
*
Sample code:
*
@@ -1202,7 +1207,7 @@ public final Listing createListing(CreateListingRequest request) {
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * Creates a new Listing in a given project and location.
+ * Creates a new listing.
*
*
Sample code:
*
@@ -1230,7 +1235,7 @@ public final UnaryCallable createListingCallable(
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * Updates the parameters of a single Listing.
+ * Updates an existing listing.
*
* Sample code:
*
@@ -1245,9 +1250,9 @@ public final UnaryCallable createListingCallable(
* }
*
* @param listing Required. The listing to update.
- * @param updateMask Required. Field mask is used to specify the fields to be overwritten in the
- * Listing resource by the update. The fields specified in the update_mask are relative to the
- * resource, not the full request.
+ * @param updateMask Required. Field mask specifies the fields to update in the listing resource.
+ * The fields specified in the `updateMask` are relative to the resource and are not a full
+ * request.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final Listing updateListing(Listing listing, FieldMask updateMask) {
@@ -1258,7 +1263,7 @@ public final Listing updateListing(Listing listing, FieldMask updateMask) {
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * Updates the parameters of a single Listing.
+ * Updates an existing listing.
*
* Sample code:
*
@@ -1284,7 +1289,7 @@ public final Listing updateListing(UpdateListingRequest request) {
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * Updates the parameters of a single Listing.
+ * Updates an existing listing.
*
*
Sample code:
*
@@ -1310,8 +1315,7 @@ public final UnaryCallable updateListingCallable(
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * Deletes a single Listing, as long as there are no subscriptions associated with the source of
- * this Listing.
+ * Deletes a listing.
*
* Sample code:
*
@@ -1336,8 +1340,7 @@ public final void deleteListing(ListingName name) {
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * Deletes a single Listing, as long as there are no subscriptions associated with the source of
- * this Listing.
+ * Deletes a listing.
*
*
Sample code:
*
@@ -1362,8 +1365,7 @@ public final void deleteListing(String name) {
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * Deletes a single Listing, as long as there are no subscriptions associated with the source of
- * this Listing.
+ * Deletes a listing.
*
*
Sample code:
*
@@ -1390,8 +1392,7 @@ public final void deleteListing(DeleteListingRequest request) {
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * Deletes a single Listing, as long as there are no subscriptions associated with the source of
- * this Listing.
+ * Deletes a listing.
*
*
Sample code:
*
@@ -1418,11 +1419,11 @@ public final UnaryCallable deleteListingCallable()
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * Subscribes to a single Listing.
+ * Subscribes to a listing.
*
- * Data Exchange currently supports one type of Listing: a BigQuery dataset. Upon subscription
- * to a Listing for a BigQuery dataset, Data Exchange creates a linked dataset in the subscriber's
- * project.
+ *
Currently, with Analytics Hub, you can create listings that reference only BigQuery
+ * datasets. Upon subscription to a listing for a BigQuery dataset, Analytics Hub creates a linked
+ * dataset in the subscriber's project.
*
*
Sample code:
*
@@ -1435,7 +1436,7 @@ public final UnaryCallable deleteListingCallable()
* }
* }
*
- * @param name Required. Resource name of the listing to subscribe to. e.g.
+ * @param name Required. Resource name of the listing that you want to subscribe to. e.g.
* `projects/myproject/locations/US/dataExchanges/123/listings/456`.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
@@ -1447,11 +1448,11 @@ public final SubscribeListingResponse subscribeListing(ListingName name) {
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * Subscribes to a single Listing.
+ * Subscribes to a listing.
*
- * Data Exchange currently supports one type of Listing: a BigQuery dataset. Upon subscription
- * to a Listing for a BigQuery dataset, Data Exchange creates a linked dataset in the subscriber's
- * project.
+ *
Currently, with Analytics Hub, you can create listings that reference only BigQuery
+ * datasets. Upon subscription to a listing for a BigQuery dataset, Analytics Hub creates a linked
+ * dataset in the subscriber's project.
*
*
Sample code:
*
@@ -1465,7 +1466,7 @@ public final SubscribeListingResponse subscribeListing(ListingName name) {
* }
* }
*
- * @param name Required. Resource name of the listing to subscribe to. e.g.
+ * @param name Required. Resource name of the listing that you want to subscribe to. e.g.
* `projects/myproject/locations/US/dataExchanges/123/listings/456`.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
@@ -1476,11 +1477,11 @@ public final SubscribeListingResponse subscribeListing(String name) {
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * Subscribes to a single Listing.
+ * Subscribes to a listing.
*
- *
Data Exchange currently supports one type of Listing: a BigQuery dataset. Upon subscription
- * to a Listing for a BigQuery dataset, Data Exchange creates a linked dataset in the subscriber's
- * project.
+ *
Currently, with Analytics Hub, you can create listings that reference only BigQuery
+ * datasets. Upon subscription to a listing for a BigQuery dataset, Analytics Hub creates a linked
+ * dataset in the subscriber's project.
*
*
Sample code:
*
@@ -1507,11 +1508,11 @@ public final SubscribeListingResponse subscribeListing(SubscribeListingRequest r
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * Subscribes to a single Listing.
+ * Subscribes to a listing.
*
- *
Data Exchange currently supports one type of Listing: a BigQuery dataset. Upon subscription
- * to a Listing for a BigQuery dataset, Data Exchange creates a linked dataset in the subscriber's
- * project.
+ *
Currently, with Analytics Hub, you can create listings that reference only BigQuery
+ * datasets. Upon subscription to a listing for a BigQuery dataset, Analytics Hub creates a linked
+ * dataset in the subscriber's project.
*
*
Sample code:
*
@@ -1539,7 +1540,7 @@ public final SubscribeListingResponse subscribeListing(SubscribeListingRequest r
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * Gets the IAM policy for a dataExchange or a listing.
+ * Gets the IAM policy.
*
*
Sample code:
*
@@ -1566,7 +1567,7 @@ public final Policy getIamPolicy(GetIamPolicyRequest request) {
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * Gets the IAM policy for a dataExchange or a listing.
+ * Gets the IAM policy.
*
*
Sample code:
*
@@ -1593,7 +1594,7 @@ public final UnaryCallable getIamPolicyCallable() {
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * Sets the IAM policy for a dataExchange or a listing.
+ * Sets the IAM policy.
*
* Sample code:
*
@@ -1621,7 +1622,7 @@ public final Policy setIamPolicy(SetIamPolicyRequest request) {
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * Sets the IAM policy for a dataExchange or a listing.
+ * Sets the IAM policy.
*
*
Sample code:
*
@@ -1649,7 +1650,7 @@ public final UnaryCallable setIamPolicyCallable() {
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * Returns the permissions that a caller has on a specified dataExchange or listing.
+ * Returns the permissions that a caller has.
*
* Sample code:
*
@@ -1676,7 +1677,7 @@ public final TestIamPermissionsResponse testIamPermissions(TestIamPermissionsReq
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * Returns the permissions that a caller has on a specified dataExchange or listing.
+ * Returns the permissions that a caller has.
*
*
Sample code:
*
@@ -1702,6 +1703,148 @@ public final TestIamPermissionsResponse testIamPermissions(TestIamPermissionsReq
return stub.testIamPermissionsCallable();
}
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Lists information about the supported locations for this service.
+ *
+ *
Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
+ * try (AnalyticsHubServiceClient analyticsHubServiceClient = AnalyticsHubServiceClient.create()) {
+ * ListLocationsRequest request =
+ * ListLocationsRequest.newBuilder()
+ * .setName("name3373707")
+ * .setFilter("filter-1274492040")
+ * .setPageSize(883849137)
+ * .setPageToken("pageToken873572522")
+ * .build();
+ * for (Location element : analyticsHubServiceClient.listLocations(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 ListLocationsPagedResponse listLocations(ListLocationsRequest request) {
+ return listLocationsPagedCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Lists information about the supported locations for this service.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
+ * try (AnalyticsHubServiceClient analyticsHubServiceClient = AnalyticsHubServiceClient.create()) {
+ * ListLocationsRequest request =
+ * ListLocationsRequest.newBuilder()
+ * .setName("name3373707")
+ * .setFilter("filter-1274492040")
+ * .setPageSize(883849137)
+ * .setPageToken("pageToken873572522")
+ * .build();
+ * ApiFuture future =
+ * analyticsHubServiceClient.listLocationsPagedCallable().futureCall(request);
+ * // Do something.
+ * for (Location element : future.get().iterateAll()) {
+ * // doThingsWith(element);
+ * }
+ * }
+ * }
+ */
+ public final UnaryCallable
+ listLocationsPagedCallable() {
+ return stub.listLocationsPagedCallable();
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Lists information about the supported locations for this service.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
+ * try (AnalyticsHubServiceClient analyticsHubServiceClient = AnalyticsHubServiceClient.create()) {
+ * ListLocationsRequest request =
+ * ListLocationsRequest.newBuilder()
+ * .setName("name3373707")
+ * .setFilter("filter-1274492040")
+ * .setPageSize(883849137)
+ * .setPageToken("pageToken873572522")
+ * .build();
+ * while (true) {
+ * ListLocationsResponse response =
+ * analyticsHubServiceClient.listLocationsCallable().call(request);
+ * for (Location element : response.getLocationsList()) {
+ * // doThingsWith(element);
+ * }
+ * String nextPageToken = response.getNextPageToken();
+ * if (!Strings.isNullOrEmpty(nextPageToken)) {
+ * request = request.toBuilder().setPageToken(nextPageToken).build();
+ * } else {
+ * break;
+ * }
+ * }
+ * }
+ * }
+ */
+ public final UnaryCallable listLocationsCallable() {
+ return stub.listLocationsCallable();
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Gets information about a location.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
+ * try (AnalyticsHubServiceClient analyticsHubServiceClient = AnalyticsHubServiceClient.create()) {
+ * GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
+ * Location response = analyticsHubServiceClient.getLocation(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 Location getLocation(GetLocationRequest request) {
+ return getLocationCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Gets information about a location.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
+ * try (AnalyticsHubServiceClient analyticsHubServiceClient = AnalyticsHubServiceClient.create()) {
+ * GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
+ * ApiFuture future =
+ * analyticsHubServiceClient.getLocationCallable().futureCall(request);
+ * // Do something.
+ * Location response = future.get();
+ * }
+ * }
+ */
+ public final UnaryCallable getLocationCallable() {
+ return stub.getLocationCallable();
+ }
+
@Override
public final void close() {
stub.close();
@@ -1970,4 +2113,80 @@ protected ListListingsFixedSizeCollection createCollection(
return new ListListingsFixedSizeCollection(pages, collectionSize);
}
}
+
+ public static class ListLocationsPagedResponse
+ extends AbstractPagedListResponse<
+ ListLocationsRequest,
+ ListLocationsResponse,
+ Location,
+ ListLocationsPage,
+ ListLocationsFixedSizeCollection> {
+
+ public static ApiFuture createAsync(
+ PageContext context,
+ ApiFuture futureResponse) {
+ ApiFuture futurePage =
+ ListLocationsPage.createEmptyPage().createPageAsync(context, futureResponse);
+ return ApiFutures.transform(
+ futurePage,
+ input -> new ListLocationsPagedResponse(input),
+ MoreExecutors.directExecutor());
+ }
+
+ private ListLocationsPagedResponse(ListLocationsPage page) {
+ super(page, ListLocationsFixedSizeCollection.createEmptyCollection());
+ }
+ }
+
+ public static class ListLocationsPage
+ extends AbstractPage<
+ ListLocationsRequest, ListLocationsResponse, Location, ListLocationsPage> {
+
+ private ListLocationsPage(
+ PageContext context,
+ ListLocationsResponse response) {
+ super(context, response);
+ }
+
+ private static ListLocationsPage createEmptyPage() {
+ return new ListLocationsPage(null, null);
+ }
+
+ @Override
+ protected ListLocationsPage createPage(
+ PageContext context,
+ ListLocationsResponse response) {
+ return new ListLocationsPage(context, response);
+ }
+
+ @Override
+ public ApiFuture createPageAsync(
+ PageContext context,
+ ApiFuture futureResponse) {
+ return super.createPageAsync(context, futureResponse);
+ }
+ }
+
+ public static class ListLocationsFixedSizeCollection
+ extends AbstractFixedSizeCollection<
+ ListLocationsRequest,
+ ListLocationsResponse,
+ Location,
+ ListLocationsPage,
+ ListLocationsFixedSizeCollection> {
+
+ private ListLocationsFixedSizeCollection(List pages, int collectionSize) {
+ super(pages, collectionSize);
+ }
+
+ private static ListLocationsFixedSizeCollection createEmptyCollection() {
+ return new ListLocationsFixedSizeCollection(null, 0);
+ }
+
+ @Override
+ protected ListLocationsFixedSizeCollection createCollection(
+ List pages, int collectionSize) {
+ return new ListLocationsFixedSizeCollection(pages, collectionSize);
+ }
+ }
}
diff --git a/java-bigquery-data-exchange/google-cloud-bigquery-data-exchange/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/AnalyticsHubServiceSettings.java b/java-bigquery-data-exchange/google-cloud-bigquery-data-exchange/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/AnalyticsHubServiceSettings.java
index 083506b076ef..b9a16b325295 100644
--- a/java-bigquery-data-exchange/google-cloud-bigquery-data-exchange/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/AnalyticsHubServiceSettings.java
+++ b/java-bigquery-data-exchange/google-cloud-bigquery-data-exchange/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/AnalyticsHubServiceSettings.java
@@ -18,6 +18,7 @@
import static com.google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubServiceClient.ListDataExchangesPagedResponse;
import static com.google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubServiceClient.ListListingsPagedResponse;
+import static com.google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubServiceClient.ListLocationsPagedResponse;
import static com.google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubServiceClient.ListOrgDataExchangesPagedResponse;
import com.google.api.core.ApiFunction;
@@ -33,6 +34,10 @@
import com.google.api.gax.rpc.TransportChannelProvider;
import com.google.api.gax.rpc.UnaryCallSettings;
import com.google.cloud.bigquery.dataexchange.v1beta1.stub.AnalyticsHubServiceStubSettings;
+import com.google.cloud.location.GetLocationRequest;
+import com.google.cloud.location.ListLocationsRequest;
+import com.google.cloud.location.ListLocationsResponse;
+import com.google.cloud.location.Location;
import com.google.iam.v1.GetIamPolicyRequest;
import com.google.iam.v1.Policy;
import com.google.iam.v1.SetIamPolicyRequest;
@@ -166,6 +171,17 @@ public UnaryCallSettings setIamPolicySettings() {
return ((AnalyticsHubServiceStubSettings) getStubSettings()).testIamPermissionsSettings();
}
+ /** Returns the object with the settings used for calls to listLocations. */
+ public PagedCallSettings
+ listLocationsSettings() {
+ return ((AnalyticsHubServiceStubSettings) getStubSettings()).listLocationsSettings();
+ }
+
+ /** Returns the object with the settings used for calls to getLocation. */
+ public UnaryCallSettings getLocationSettings() {
+ return ((AnalyticsHubServiceStubSettings) getStubSettings()).getLocationSettings();
+ }
+
public static final AnalyticsHubServiceSettings create(AnalyticsHubServiceStubSettings stub)
throws IOException {
return new AnalyticsHubServiceSettings.Builder(stub.toBuilder()).build();
@@ -370,6 +386,18 @@ public UnaryCallSettings.Builder setIamPolicySettin
return getStubSettingsBuilder().testIamPermissionsSettings();
}
+ /** Returns the builder for the settings used for calls to listLocations. */
+ public PagedCallSettings.Builder<
+ ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse>
+ listLocationsSettings() {
+ return getStubSettingsBuilder().listLocationsSettings();
+ }
+
+ /** Returns the builder for the settings used for calls to getLocation. */
+ public UnaryCallSettings.Builder getLocationSettings() {
+ return getStubSettingsBuilder().getLocationSettings();
+ }
+
@Override
public AnalyticsHubServiceSettings build() throws IOException {
return new AnalyticsHubServiceSettings(this);
diff --git a/java-bigquery-data-exchange/google-cloud-bigquery-data-exchange/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/gapic_metadata.json b/java-bigquery-data-exchange/google-cloud-bigquery-data-exchange/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/gapic_metadata.json
index a7285e6ddea9..e19c8f0a78ed 100644
--- a/java-bigquery-data-exchange/google-cloud-bigquery-data-exchange/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/gapic_metadata.json
+++ b/java-bigquery-data-exchange/google-cloud-bigquery-data-exchange/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/gapic_metadata.json
@@ -31,12 +31,18 @@
"GetListing": {
"methods": ["getListing", "getListing", "getListing", "getListingCallable"]
},
+ "GetLocation": {
+ "methods": ["getLocation", "getLocationCallable"]
+ },
"ListDataExchanges": {
"methods": ["listDataExchanges", "listDataExchanges", "listDataExchanges", "listDataExchangesPagedCallable", "listDataExchangesCallable"]
},
"ListListings": {
"methods": ["listListings", "listListings", "listListings", "listListingsPagedCallable", "listListingsCallable"]
},
+ "ListLocations": {
+ "methods": ["listLocations", "listLocationsPagedCallable", "listLocationsCallable"]
+ },
"ListOrgDataExchanges": {
"methods": ["listOrgDataExchanges", "listOrgDataExchanges", "listOrgDataExchangesPagedCallable", "listOrgDataExchangesCallable"]
},
diff --git a/java-bigquery-data-exchange/google-cloud-bigquery-data-exchange/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/package-info.java b/java-bigquery-data-exchange/google-cloud-bigquery-data-exchange/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/package-info.java
index 2ae458d92fac..0d28f9aed388 100644
--- a/java-bigquery-data-exchange/google-cloud-bigquery-data-exchange/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/package-info.java
+++ b/java-bigquery-data-exchange/google-cloud-bigquery-data-exchange/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/package-info.java
@@ -21,10 +21,11 @@
*
* ======================= AnalyticsHubServiceClient =======================
*
- *
Service Description: The AnalyticsHubService API facilitates data sharing within and across
- * organizations. It allows data providers to publish Listings --- a discoverable and searchable SKU
- * representing a dataset. Data consumers can subscribe to Listings. Upon subscription, AnalyticsHub
- * provisions a "Linked Datasets" surfacing the data in the consumer's project.
+ *
Service Description: The `AnalyticsHubService` API facilitates data sharing within and across
+ * organizations. It allows data providers to publish listings that reference shared datasets. With
+ * Analytics Hub, users can discover and search for listings that they have access to. Subscribers
+ * can view and subscribe to listings. When you subscribe to a listing, Analytics Hub creates a
+ * linked dataset in your project.
*
*
Sample for AnalyticsHubServiceClient:
*
diff --git a/java-bigquery-data-exchange/google-cloud-bigquery-data-exchange/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/stub/AnalyticsHubServiceStub.java b/java-bigquery-data-exchange/google-cloud-bigquery-data-exchange/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/stub/AnalyticsHubServiceStub.java
index be9ce9ba9a56..3a474a7a0ece 100644
--- a/java-bigquery-data-exchange/google-cloud-bigquery-data-exchange/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/stub/AnalyticsHubServiceStub.java
+++ b/java-bigquery-data-exchange/google-cloud-bigquery-data-exchange/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/stub/AnalyticsHubServiceStub.java
@@ -18,6 +18,7 @@
import static com.google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubServiceClient.ListDataExchangesPagedResponse;
import static com.google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubServiceClient.ListListingsPagedResponse;
+import static com.google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubServiceClient.ListLocationsPagedResponse;
import static com.google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubServiceClient.ListOrgDataExchangesPagedResponse;
import com.google.api.core.BetaApi;
@@ -41,6 +42,10 @@
import com.google.cloud.bigquery.dataexchange.v1beta1.SubscribeListingResponse;
import com.google.cloud.bigquery.dataexchange.v1beta1.UpdateDataExchangeRequest;
import com.google.cloud.bigquery.dataexchange.v1beta1.UpdateListingRequest;
+import com.google.cloud.location.GetLocationRequest;
+import com.google.cloud.location.ListLocationsRequest;
+import com.google.cloud.location.ListLocationsResponse;
+import com.google.cloud.location.Location;
import com.google.iam.v1.GetIamPolicyRequest;
import com.google.iam.v1.Policy;
import com.google.iam.v1.SetIamPolicyRequest;
@@ -137,6 +142,19 @@ public UnaryCallable setIamPolicyCallable() {
throw new UnsupportedOperationException("Not implemented: testIamPermissionsCallable()");
}
+ public UnaryCallable
+ listLocationsPagedCallable() {
+ throw new UnsupportedOperationException("Not implemented: listLocationsPagedCallable()");
+ }
+
+ public UnaryCallable listLocationsCallable() {
+ throw new UnsupportedOperationException("Not implemented: listLocationsCallable()");
+ }
+
+ public UnaryCallable getLocationCallable() {
+ throw new UnsupportedOperationException("Not implemented: getLocationCallable()");
+ }
+
@Override
public abstract void close();
}
diff --git a/java-bigquery-data-exchange/google-cloud-bigquery-data-exchange/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/stub/AnalyticsHubServiceStubSettings.java b/java-bigquery-data-exchange/google-cloud-bigquery-data-exchange/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/stub/AnalyticsHubServiceStubSettings.java
index 866c6cc737f7..7c84b7585284 100644
--- a/java-bigquery-data-exchange/google-cloud-bigquery-data-exchange/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/stub/AnalyticsHubServiceStubSettings.java
+++ b/java-bigquery-data-exchange/google-cloud-bigquery-data-exchange/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/stub/AnalyticsHubServiceStubSettings.java
@@ -18,6 +18,7 @@
import static com.google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubServiceClient.ListDataExchangesPagedResponse;
import static com.google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubServiceClient.ListListingsPagedResponse;
+import static com.google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubServiceClient.ListLocationsPagedResponse;
import static com.google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubServiceClient.ListOrgDataExchangesPagedResponse;
import com.google.api.core.ApiFunction;
@@ -63,6 +64,10 @@
import com.google.cloud.bigquery.dataexchange.v1beta1.SubscribeListingResponse;
import com.google.cloud.bigquery.dataexchange.v1beta1.UpdateDataExchangeRequest;
import com.google.cloud.bigquery.dataexchange.v1beta1.UpdateListingRequest;
+import com.google.cloud.location.GetLocationRequest;
+import com.google.cloud.location.ListLocationsRequest;
+import com.google.cloud.location.ListLocationsResponse;
+import com.google.cloud.location.Location;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.ImmutableMap;
import com.google.common.collect.ImmutableSet;
@@ -150,6 +155,10 @@ public class AnalyticsHubServiceStubSettings extends StubSettings setIamPolicySettings;
private final UnaryCallSettings
testIamPermissionsSettings;
+ private final PagedCallSettings<
+ ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse>
+ listLocationsSettings;
+ private final UnaryCallSettings getLocationSettings;
private static final PagedListDescriptor<
ListDataExchangesRequest, ListDataExchangesResponse, DataExchange>
@@ -267,6 +276,42 @@ public Iterable extractResources(ListListingsResponse payload) {
}
};
+ private static final PagedListDescriptor
+ LIST_LOCATIONS_PAGE_STR_DESC =
+ new PagedListDescriptor() {
+ @Override
+ public String emptyToken() {
+ return "";
+ }
+
+ @Override
+ public ListLocationsRequest injectToken(ListLocationsRequest payload, String token) {
+ return ListLocationsRequest.newBuilder(payload).setPageToken(token).build();
+ }
+
+ @Override
+ public ListLocationsRequest injectPageSize(ListLocationsRequest payload, int pageSize) {
+ return ListLocationsRequest.newBuilder(payload).setPageSize(pageSize).build();
+ }
+
+ @Override
+ public Integer extractPageSize(ListLocationsRequest payload) {
+ return payload.getPageSize();
+ }
+
+ @Override
+ public String extractNextToken(ListLocationsResponse payload) {
+ return payload.getNextPageToken();
+ }
+
+ @Override
+ public Iterable extractResources(ListLocationsResponse payload) {
+ return payload.getLocationsList() == null
+ ? ImmutableList.of()
+ : payload.getLocationsList();
+ }
+ };
+
private static final PagedListResponseFactory<
ListDataExchangesRequest, ListDataExchangesResponse, ListDataExchangesPagedResponse>
LIST_DATA_EXCHANGES_PAGE_STR_FACT =
@@ -328,6 +373,23 @@ public ApiFuture getFuturePagedResponse(
}
};
+ private static final PagedListResponseFactory<
+ ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse>
+ LIST_LOCATIONS_PAGE_STR_FACT =
+ new PagedListResponseFactory<
+ ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse>() {
+ @Override
+ public ApiFuture getFuturePagedResponse(
+ UnaryCallable callable,
+ ListLocationsRequest request,
+ ApiCallContext context,
+ ApiFuture futureResponse) {
+ PageContext pageContext =
+ PageContext.create(callable, LIST_LOCATIONS_PAGE_STR_DESC, request, context);
+ return ListLocationsPagedResponse.createAsync(pageContext, futureResponse);
+ }
+ };
+
/** Returns the object with the settings used for calls to listDataExchanges. */
public PagedCallSettings<
ListDataExchangesRequest, ListDataExchangesResponse, ListDataExchangesPagedResponse>
@@ -412,6 +474,17 @@ public UnaryCallSettings setIamPolicySettings() {
return testIamPermissionsSettings;
}
+ /** Returns the object with the settings used for calls to listLocations. */
+ public PagedCallSettings
+ listLocationsSettings() {
+ return listLocationsSettings;
+ }
+
+ /** Returns the object with the settings used for calls to getLocation. */
+ public UnaryCallSettings getLocationSettings() {
+ return getLocationSettings;
+ }
+
public AnalyticsHubServiceStub createStub() throws IOException {
if (getTransportChannelProvider()
.getTransportName()
@@ -533,6 +606,8 @@ protected AnalyticsHubServiceStubSettings(Builder settingsBuilder) throws IOExce
getIamPolicySettings = settingsBuilder.getIamPolicySettings().build();
setIamPolicySettings = settingsBuilder.setIamPolicySettings().build();
testIamPermissionsSettings = settingsBuilder.testIamPermissionsSettings().build();
+ listLocationsSettings = settingsBuilder.listLocationsSettings().build();
+ getLocationSettings = settingsBuilder.getLocationSettings().build();
}
/** Builder for AnalyticsHubServiceStubSettings. */
@@ -568,6 +643,10 @@ public static class Builder
private final UnaryCallSettings.Builder setIamPolicySettings;
private final UnaryCallSettings.Builder
testIamPermissionsSettings;
+ private final PagedCallSettings.Builder<
+ ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse>
+ listLocationsSettings;
+ private final UnaryCallSettings.Builder getLocationSettings;
private static final ImmutableMap>
RETRYABLE_CODE_DEFINITIONS;
@@ -624,6 +703,8 @@ protected Builder(ClientContext clientContext) {
getIamPolicySettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
setIamPolicySettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
testIamPermissionsSettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
+ listLocationsSettings = PagedCallSettings.newBuilder(LIST_LOCATIONS_PAGE_STR_FACT);
+ getLocationSettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
unaryMethodSettingsBuilders =
ImmutableList.>of(
@@ -641,7 +722,9 @@ protected Builder(ClientContext clientContext) {
subscribeListingSettings,
getIamPolicySettings,
setIamPolicySettings,
- testIamPermissionsSettings);
+ testIamPermissionsSettings,
+ listLocationsSettings,
+ getLocationSettings);
initDefaults(this);
}
@@ -663,6 +746,8 @@ protected Builder(AnalyticsHubServiceStubSettings settings) {
getIamPolicySettings = settings.getIamPolicySettings.toBuilder();
setIamPolicySettings = settings.setIamPolicySettings.toBuilder();
testIamPermissionsSettings = settings.testIamPermissionsSettings.toBuilder();
+ listLocationsSettings = settings.listLocationsSettings.toBuilder();
+ getLocationSettings = settings.getLocationSettings.toBuilder();
unaryMethodSettingsBuilders =
ImmutableList.>of(
@@ -680,7 +765,9 @@ protected Builder(AnalyticsHubServiceStubSettings settings) {
subscribeListingSettings,
getIamPolicySettings,
setIamPolicySettings,
- testIamPermissionsSettings);
+ testIamPermissionsSettings,
+ listLocationsSettings,
+ getLocationSettings);
}
private static Builder createDefault() {
@@ -785,6 +872,16 @@ 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
+ .listLocationsSettings()
+ .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes"))
+ .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params"));
+
+ builder
+ .getLocationSettings()
+ .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes"))
+ .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params"));
+
return builder;
}
@@ -892,6 +989,18 @@ public UnaryCallSettings.Builder setIamPolicySettin
return testIamPermissionsSettings;
}
+ /** Returns the builder for the settings used for calls to listLocations. */
+ public PagedCallSettings.Builder<
+ ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse>
+ listLocationsSettings() {
+ return listLocationsSettings;
+ }
+
+ /** Returns the builder for the settings used for calls to getLocation. */
+ public UnaryCallSettings.Builder getLocationSettings() {
+ return getLocationSettings;
+ }
+
@Override
public AnalyticsHubServiceStubSettings build() throws IOException {
return new AnalyticsHubServiceStubSettings(this);
diff --git a/java-bigquery-data-exchange/google-cloud-bigquery-data-exchange/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/stub/GrpcAnalyticsHubServiceStub.java b/java-bigquery-data-exchange/google-cloud-bigquery-data-exchange/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/stub/GrpcAnalyticsHubServiceStub.java
index 7ca21d7a3105..f8193ee4f0a9 100644
--- a/java-bigquery-data-exchange/google-cloud-bigquery-data-exchange/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/stub/GrpcAnalyticsHubServiceStub.java
+++ b/java-bigquery-data-exchange/google-cloud-bigquery-data-exchange/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/stub/GrpcAnalyticsHubServiceStub.java
@@ -18,6 +18,7 @@
import static com.google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubServiceClient.ListDataExchangesPagedResponse;
import static com.google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubServiceClient.ListListingsPagedResponse;
+import static com.google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubServiceClient.ListLocationsPagedResponse;
import static com.google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubServiceClient.ListOrgDataExchangesPagedResponse;
import com.google.api.core.BetaApi;
@@ -45,6 +46,10 @@
import com.google.cloud.bigquery.dataexchange.v1beta1.SubscribeListingResponse;
import com.google.cloud.bigquery.dataexchange.v1beta1.UpdateDataExchangeRequest;
import com.google.cloud.bigquery.dataexchange.v1beta1.UpdateListingRequest;
+import com.google.cloud.location.GetLocationRequest;
+import com.google.cloud.location.ListLocationsRequest;
+import com.google.cloud.location.ListLocationsResponse;
+import com.google.cloud.location.Location;
import com.google.common.collect.ImmutableMap;
import com.google.iam.v1.GetIamPolicyRequest;
import com.google.iam.v1.Policy;
@@ -229,6 +234,25 @@ public class GrpcAnalyticsHubServiceStub extends AnalyticsHubServiceStub {
ProtoUtils.marshaller(TestIamPermissionsResponse.getDefaultInstance()))
.build();
+ private static final MethodDescriptor
+ listLocationsMethodDescriptor =
+ MethodDescriptor.newBuilder()
+ .setType(MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName("google.cloud.location.Locations/ListLocations")
+ .setRequestMarshaller(
+ ProtoUtils.marshaller(ListLocationsRequest.getDefaultInstance()))
+ .setResponseMarshaller(
+ ProtoUtils.marshaller(ListLocationsResponse.getDefaultInstance()))
+ .build();
+
+ private static final MethodDescriptor getLocationMethodDescriptor =
+ MethodDescriptor.newBuilder()
+ .setType(MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName("google.cloud.location.Locations/GetLocation")
+ .setRequestMarshaller(ProtoUtils.marshaller(GetLocationRequest.getDefaultInstance()))
+ .setResponseMarshaller(ProtoUtils.marshaller(Location.getDefaultInstance()))
+ .build();
+
private final UnaryCallable
listDataExchangesCallable;
private final UnaryCallable
@@ -254,6 +278,10 @@ public class GrpcAnalyticsHubServiceStub extends AnalyticsHubServiceStub {
private final UnaryCallable setIamPolicyCallable;
private final UnaryCallable
testIamPermissionsCallable;
+ private final UnaryCallable listLocationsCallable;
+ private final UnaryCallable
+ listLocationsPagedCallable;
+ private final UnaryCallable getLocationCallable;
private final BackgroundResource backgroundResources;
private final GrpcOperationsStub operationsStub;
@@ -454,6 +482,26 @@ protected GrpcAnalyticsHubServiceStub(
return params.build();
})
.build();
+ GrpcCallSettings listLocationsTransportSettings =
+ GrpcCallSettings.newBuilder()
+ .setMethodDescriptor(listLocationsMethodDescriptor)
+ .setParamsExtractor(
+ request -> {
+ ImmutableMap.Builder params = ImmutableMap.builder();
+ params.put("name", String.valueOf(request.getName()));
+ return params.build();
+ })
+ .build();
+ GrpcCallSettings getLocationTransportSettings =
+ GrpcCallSettings.newBuilder()
+ .setMethodDescriptor(getLocationMethodDescriptor)
+ .setParamsExtractor(
+ request -> {
+ ImmutableMap.Builder params = ImmutableMap.builder();
+ params.put("name", String.valueOf(request.getName()));
+ return params.build();
+ })
+ .build();
this.listDataExchangesCallable =
callableFactory.createUnaryCallable(
@@ -525,6 +573,15 @@ protected GrpcAnalyticsHubServiceStub(
testIamPermissionsTransportSettings,
settings.testIamPermissionsSettings(),
clientContext);
+ this.listLocationsCallable =
+ callableFactory.createUnaryCallable(
+ listLocationsTransportSettings, settings.listLocationsSettings(), clientContext);
+ this.listLocationsPagedCallable =
+ callableFactory.createPagedCallable(
+ listLocationsTransportSettings, settings.listLocationsSettings(), clientContext);
+ this.getLocationCallable =
+ callableFactory.createUnaryCallable(
+ getLocationTransportSettings, settings.getLocationSettings(), clientContext);
this.backgroundResources =
new BackgroundResourceAggregation(clientContext.getBackgroundResources());
@@ -630,6 +687,22 @@ public UnaryCallable setIamPolicyCallable() {
return testIamPermissionsCallable;
}
+ @Override
+ public UnaryCallable listLocationsCallable() {
+ return listLocationsCallable;
+ }
+
+ @Override
+ public UnaryCallable
+ listLocationsPagedCallable() {
+ return listLocationsPagedCallable;
+ }
+
+ @Override
+ public UnaryCallable getLocationCallable() {
+ return getLocationCallable;
+ }
+
@Override
public final void close() {
try {
diff --git a/java-bigquery-data-exchange/google-cloud-bigquery-data-exchange/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/stub/HttpJsonAnalyticsHubServiceStub.java b/java-bigquery-data-exchange/google-cloud-bigquery-data-exchange/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/stub/HttpJsonAnalyticsHubServiceStub.java
index b11de5eb97cf..98fcc1acf79c 100644
--- a/java-bigquery-data-exchange/google-cloud-bigquery-data-exchange/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/stub/HttpJsonAnalyticsHubServiceStub.java
+++ b/java-bigquery-data-exchange/google-cloud-bigquery-data-exchange/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/stub/HttpJsonAnalyticsHubServiceStub.java
@@ -18,6 +18,7 @@
import static com.google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubServiceClient.ListDataExchangesPagedResponse;
import static com.google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubServiceClient.ListListingsPagedResponse;
+import static com.google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubServiceClient.ListLocationsPagedResponse;
import static com.google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubServiceClient.ListOrgDataExchangesPagedResponse;
import com.google.api.core.BetaApi;
@@ -50,6 +51,10 @@
import com.google.cloud.bigquery.dataexchange.v1beta1.SubscribeListingResponse;
import com.google.cloud.bigquery.dataexchange.v1beta1.UpdateDataExchangeRequest;
import com.google.cloud.bigquery.dataexchange.v1beta1.UpdateListingRequest;
+import com.google.cloud.location.GetLocationRequest;
+import com.google.cloud.location.ListLocationsRequest;
+import com.google.cloud.location.ListLocationsResponse;
+import com.google.cloud.location.Location;
import com.google.iam.v1.GetIamPolicyRequest;
import com.google.iam.v1.Policy;
import com.google.iam.v1.SetIamPolicyRequest;
@@ -629,6 +634,72 @@ public class HttpJsonAnalyticsHubServiceStub extends AnalyticsHubServiceStub {
.build())
.build();
+ private static final ApiMethodDescriptor
+ listLocationsMethodDescriptor =
+ ApiMethodDescriptor.newBuilder()
+ .setFullMethodName("google.cloud.location.Locations/ListLocations")
+ .setHttpMethod("GET")
+ .setType(ApiMethodDescriptor.MethodType.UNARY)
+ .setRequestFormatter(
+ ProtoMessageRequestFormatter.newBuilder()
+ .setPath(
+ "/v1beta1/{name=projects/*}/locations",
+ request -> {
+ Map fields = new HashMap<>();
+ ProtoRestSerializer serializer =
+ ProtoRestSerializer.create();
+ serializer.putPathParam(fields, "name", request.getName());
+ return fields;
+ })
+ .setQueryParamsExtractor(
+ request -> {
+ Map> fields = new HashMap<>();
+ ProtoRestSerializer serializer =
+ ProtoRestSerializer.create();
+ return fields;
+ })
+ .setRequestBodyExtractor(request -> null)
+ .build())
+ .setResponseParser(
+ ProtoMessageResponseParser.newBuilder()
+ .setDefaultInstance(ListLocationsResponse.getDefaultInstance())
+ .setDefaultTypeRegistry(typeRegistry)
+ .build())
+ .build();
+
+ private static final ApiMethodDescriptor
+ getLocationMethodDescriptor =
+ ApiMethodDescriptor.newBuilder()
+ .setFullMethodName("google.cloud.location.Locations/GetLocation")
+ .setHttpMethod("GET")
+ .setType(ApiMethodDescriptor.MethodType.UNARY)
+ .setRequestFormatter(
+ ProtoMessageRequestFormatter.newBuilder()
+ .setPath(
+ "/v1beta1/{name=projects/*/locations/*}",
+ request -> {
+ Map fields = new HashMap<>();
+ ProtoRestSerializer serializer =
+ ProtoRestSerializer.create();
+ serializer.putPathParam(fields, "name", request.getName());
+ return fields;
+ })
+ .setQueryParamsExtractor(
+ request -> {
+ Map> fields = new HashMap<>();
+ ProtoRestSerializer serializer =
+ ProtoRestSerializer.create();
+ return fields;
+ })
+ .setRequestBodyExtractor(request -> null)
+ .build())
+ .setResponseParser(
+ ProtoMessageResponseParser.newBuilder()
+ .setDefaultInstance(Location.getDefaultInstance())
+ .setDefaultTypeRegistry(typeRegistry)
+ .build())
+ .build();
+
private final UnaryCallable
listDataExchangesCallable;
private final UnaryCallable
@@ -654,6 +725,10 @@ public class HttpJsonAnalyticsHubServiceStub extends AnalyticsHubServiceStub {
private final UnaryCallable setIamPolicyCallable;
private final UnaryCallable
testIamPermissionsCallable;
+ private final UnaryCallable listLocationsCallable;
+ private final UnaryCallable
+ listLocationsPagedCallable;
+ private final UnaryCallable getLocationCallable;
private final BackgroundResource backgroundResources;
private final HttpJsonStubCallableFactory callableFactory;
@@ -781,6 +856,17 @@ protected HttpJsonAnalyticsHubServiceStub(
.setMethodDescriptor(testIamPermissionsMethodDescriptor)
.setTypeRegistry(typeRegistry)
.build();
+ HttpJsonCallSettings
+ listLocationsTransportSettings =
+ HttpJsonCallSettings.newBuilder()
+ .setMethodDescriptor(listLocationsMethodDescriptor)
+ .setTypeRegistry(typeRegistry)
+ .build();
+ HttpJsonCallSettings getLocationTransportSettings =
+ HttpJsonCallSettings.newBuilder()
+ .setMethodDescriptor(getLocationMethodDescriptor)
+ .setTypeRegistry(typeRegistry)
+ .build();
this.listDataExchangesCallable =
callableFactory.createUnaryCallable(
@@ -852,6 +938,15 @@ protected HttpJsonAnalyticsHubServiceStub(
testIamPermissionsTransportSettings,
settings.testIamPermissionsSettings(),
clientContext);
+ this.listLocationsCallable =
+ callableFactory.createUnaryCallable(
+ listLocationsTransportSettings, settings.listLocationsSettings(), clientContext);
+ this.listLocationsPagedCallable =
+ callableFactory.createPagedCallable(
+ listLocationsTransportSettings, settings.listLocationsSettings(), clientContext);
+ this.getLocationCallable =
+ callableFactory.createUnaryCallable(
+ getLocationTransportSettings, settings.getLocationSettings(), clientContext);
this.backgroundResources =
new BackgroundResourceAggregation(clientContext.getBackgroundResources());
@@ -875,6 +970,8 @@ public static List getMethodDescriptors() {
methodDescriptors.add(getIamPolicyMethodDescriptor);
methodDescriptors.add(setIamPolicyMethodDescriptor);
methodDescriptors.add(testIamPermissionsMethodDescriptor);
+ methodDescriptors.add(listLocationsMethodDescriptor);
+ methodDescriptors.add(getLocationMethodDescriptor);
return methodDescriptors;
}
@@ -974,6 +1071,22 @@ public UnaryCallable setIamPolicyCallable() {
return testIamPermissionsCallable;
}
+ @Override
+ public UnaryCallable listLocationsCallable() {
+ return listLocationsCallable;
+ }
+
+ @Override
+ public UnaryCallable
+ listLocationsPagedCallable() {
+ return listLocationsPagedCallable;
+ }
+
+ @Override
+ public UnaryCallable getLocationCallable() {
+ return getLocationCallable;
+ }
+
@Override
public final void close() {
try {
diff --git a/java-bigquery-data-exchange/google-cloud-bigquery-data-exchange/src/test/java/com/google/cloud/bigquery/dataexchange/v1beta1/AnalyticsHubServiceClientHttpJsonTest.java b/java-bigquery-data-exchange/google-cloud-bigquery-data-exchange/src/test/java/com/google/cloud/bigquery/dataexchange/v1beta1/AnalyticsHubServiceClientHttpJsonTest.java
index bf1c735e5b7b..0d85ee0af6d0 100644
--- a/java-bigquery-data-exchange/google-cloud-bigquery-data-exchange/src/test/java/com/google/cloud/bigquery/dataexchange/v1beta1/AnalyticsHubServiceClientHttpJsonTest.java
+++ b/java-bigquery-data-exchange/google-cloud-bigquery-data-exchange/src/test/java/com/google/cloud/bigquery/dataexchange/v1beta1/AnalyticsHubServiceClientHttpJsonTest.java
@@ -18,6 +18,7 @@
import static com.google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubServiceClient.ListDataExchangesPagedResponse;
import static com.google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubServiceClient.ListListingsPagedResponse;
+import static com.google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubServiceClient.ListLocationsPagedResponse;
import static com.google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubServiceClient.ListOrgDataExchangesPagedResponse;
import com.google.api.gax.core.NoCredentialsProvider;
@@ -29,8 +30,11 @@
import com.google.api.gax.rpc.InvalidArgumentException;
import com.google.api.gax.rpc.StatusCode;
import com.google.api.gax.rpc.testing.FakeStatusCode;
-import com.google.cloud.bigquery.dataexchange.common.Category;
import com.google.cloud.bigquery.dataexchange.v1beta1.stub.HttpJsonAnalyticsHubServiceStub;
+import com.google.cloud.location.GetLocationRequest;
+import com.google.cloud.location.ListLocationsRequest;
+import com.google.cloud.location.ListLocationsResponse;
+import com.google.cloud.location.Location;
import com.google.common.collect.Lists;
import com.google.iam.v1.AuditConfig;
import com.google.iam.v1.Binding;
@@ -40,12 +44,14 @@
import com.google.iam.v1.SetIamPolicyRequest;
import com.google.iam.v1.TestIamPermissionsRequest;
import com.google.iam.v1.TestIamPermissionsResponse;
+import com.google.protobuf.Any;
import com.google.protobuf.ByteString;
import com.google.protobuf.Empty;
import com.google.protobuf.FieldMask;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
+import java.util.HashMap;
import java.util.List;
import javax.annotation.Generated;
import org.junit.After;
@@ -708,7 +714,7 @@ public void getListingTest() throws Exception {
.setDocumentation("documentation1587405498")
.setIcon(ByteString.EMPTY)
.setDataProvider(DataProvider.newBuilder().build())
- .addAllCategories(new ArrayList())
+ .addAllCategories(new ArrayList())
.setPublisher(Publisher.newBuilder().build())
.setRequestAccess("requestAccess871967955")
.build();
@@ -763,7 +769,7 @@ public void getListingTest2() throws Exception {
.setDocumentation("documentation1587405498")
.setIcon(ByteString.EMPTY)
.setDataProvider(DataProvider.newBuilder().build())
- .addAllCategories(new ArrayList())
+ .addAllCategories(new ArrayList())
.setPublisher(Publisher.newBuilder().build())
.setRequestAccess("requestAccess871967955")
.build();
@@ -820,7 +826,7 @@ public void createListingTest() throws Exception {
.setDocumentation("documentation1587405498")
.setIcon(ByteString.EMPTY)
.setDataProvider(DataProvider.newBuilder().build())
- .addAllCategories(new ArrayList())
+ .addAllCategories(new ArrayList())
.setPublisher(Publisher.newBuilder().build())
.setRequestAccess("requestAccess871967955")
.build();
@@ -877,7 +883,7 @@ public void createListingTest2() throws Exception {
.setDocumentation("documentation1587405498")
.setIcon(ByteString.EMPTY)
.setDataProvider(DataProvider.newBuilder().build())
- .addAllCategories(new ArrayList())
+ .addAllCategories(new ArrayList())
.setPublisher(Publisher.newBuilder().build())
.setRequestAccess("requestAccess871967955")
.build();
@@ -935,7 +941,7 @@ public void updateListingTest() throws Exception {
.setDocumentation("documentation1587405498")
.setIcon(ByteString.EMPTY)
.setDataProvider(DataProvider.newBuilder().build())
- .addAllCategories(new ArrayList())
+ .addAllCategories(new ArrayList())
.setPublisher(Publisher.newBuilder().build())
.setRequestAccess("requestAccess871967955")
.build();
@@ -952,7 +958,7 @@ public void updateListingTest() throws Exception {
.setDocumentation("documentation1587405498")
.setIcon(ByteString.EMPTY)
.setDataProvider(DataProvider.newBuilder().build())
- .addAllCategories(new ArrayList())
+ .addAllCategories(new ArrayList())
.setPublisher(Publisher.newBuilder().build())
.setRequestAccess("requestAccess871967955")
.build();
@@ -995,7 +1001,7 @@ public void updateListingExceptionTest() throws Exception {
.setDocumentation("documentation1587405498")
.setIcon(ByteString.EMPTY)
.setDataProvider(DataProvider.newBuilder().build())
- .addAllCategories(new ArrayList())
+ .addAllCategories(new ArrayList())
.setPublisher(Publisher.newBuilder().build())
.setRequestAccess("requestAccess871967955")
.build();
@@ -1340,4 +1346,120 @@ public void testIamPermissionsExceptionTest() throws Exception {
// Expected exception.
}
}
+
+ @Test
+ public void listLocationsTest() throws Exception {
+ Location responsesElement = Location.newBuilder().build();
+ ListLocationsResponse expectedResponse =
+ ListLocationsResponse.newBuilder()
+ .setNextPageToken("")
+ .addAllLocations(Arrays.asList(responsesElement))
+ .build();
+ mockService.addResponse(expectedResponse);
+
+ ListLocationsRequest request =
+ ListLocationsRequest.newBuilder()
+ .setName("projects/project-3664")
+ .setFilter("filter-1274492040")
+ .setPageSize(883849137)
+ .setPageToken("pageToken873572522")
+ .build();
+
+ ListLocationsPagedResponse pagedListResponse = client.listLocations(request);
+
+ List resources = Lists.newArrayList(pagedListResponse.iterateAll());
+
+ Assert.assertEquals(1, resources.size());
+ Assert.assertEquals(expectedResponse.getLocationsList().get(0), resources.get(0));
+
+ List actualRequests = mockService.getRequestPaths();
+ Assert.assertEquals(1, actualRequests.size());
+
+ String apiClientHeaderKey =
+ mockService
+ .getRequestHeaders()
+ .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey())
+ .iterator()
+ .next();
+ Assert.assertTrue(
+ GaxHttpJsonProperties.getDefaultApiClientHeaderPattern()
+ .matcher(apiClientHeaderKey)
+ .matches());
+ }
+
+ @Test
+ public void listLocationsExceptionTest() throws Exception {
+ ApiException exception =
+ ApiExceptionFactory.createException(
+ new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false);
+ mockService.addException(exception);
+
+ try {
+ ListLocationsRequest request =
+ ListLocationsRequest.newBuilder()
+ .setName("projects/project-3664")
+ .setFilter("filter-1274492040")
+ .setPageSize(883849137)
+ .setPageToken("pageToken873572522")
+ .build();
+ client.listLocations(request);
+ Assert.fail("No exception raised");
+ } catch (InvalidArgumentException e) {
+ // Expected exception.
+ }
+ }
+
+ @Test
+ public void getLocationTest() throws Exception {
+ Location expectedResponse =
+ Location.newBuilder()
+ .setName("name3373707")
+ .setLocationId("locationId1541836720")
+ .setDisplayName("displayName1714148973")
+ .putAllLabels(new HashMap())
+ .setMetadata(Any.newBuilder().build())
+ .build();
+ mockService.addResponse(expectedResponse);
+
+ GetLocationRequest request =
+ GetLocationRequest.newBuilder()
+ .setName("projects/project-9062/locations/location-9062")
+ .build();
+
+ Location actualResponse = client.getLocation(request);
+ Assert.assertEquals(expectedResponse, actualResponse);
+
+ List actualRequests = mockService.getRequestPaths();
+ Assert.assertEquals(1, actualRequests.size());
+
+ String apiClientHeaderKey =
+ mockService
+ .getRequestHeaders()
+ .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey())
+ .iterator()
+ .next();
+ Assert.assertTrue(
+ GaxHttpJsonProperties.getDefaultApiClientHeaderPattern()
+ .matcher(apiClientHeaderKey)
+ .matches());
+ }
+
+ @Test
+ public void getLocationExceptionTest() throws Exception {
+ ApiException exception =
+ ApiExceptionFactory.createException(
+ new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false);
+ mockService.addException(exception);
+
+ try {
+ GetLocationRequest request =
+ GetLocationRequest.newBuilder()
+ .setName("projects/project-9062/locations/location-9062")
+ .build();
+ client.getLocation(request);
+ Assert.fail("No exception raised");
+ } catch (InvalidArgumentException e) {
+ // Expected exception.
+ }
+ }
}
diff --git a/java-bigquery-data-exchange/google-cloud-bigquery-data-exchange/src/test/java/com/google/cloud/bigquery/dataexchange/v1beta1/AnalyticsHubServiceClientTest.java b/java-bigquery-data-exchange/google-cloud-bigquery-data-exchange/src/test/java/com/google/cloud/bigquery/dataexchange/v1beta1/AnalyticsHubServiceClientTest.java
index 32ecb806c6dd..1c6928c4ff2a 100644
--- a/java-bigquery-data-exchange/google-cloud-bigquery-data-exchange/src/test/java/com/google/cloud/bigquery/dataexchange/v1beta1/AnalyticsHubServiceClientTest.java
+++ b/java-bigquery-data-exchange/google-cloud-bigquery-data-exchange/src/test/java/com/google/cloud/bigquery/dataexchange/v1beta1/AnalyticsHubServiceClientTest.java
@@ -18,6 +18,7 @@
import static com.google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubServiceClient.ListDataExchangesPagedResponse;
import static com.google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubServiceClient.ListListingsPagedResponse;
+import static com.google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubServiceClient.ListLocationsPagedResponse;
import static com.google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubServiceClient.ListOrgDataExchangesPagedResponse;
import com.google.api.gax.core.NoCredentialsProvider;
@@ -27,7 +28,10 @@
import com.google.api.gax.grpc.testing.MockServiceHelper;
import com.google.api.gax.rpc.ApiClientHeaderProvider;
import com.google.api.gax.rpc.InvalidArgumentException;
-import com.google.cloud.bigquery.dataexchange.common.Category;
+import com.google.cloud.location.GetLocationRequest;
+import com.google.cloud.location.ListLocationsRequest;
+import com.google.cloud.location.ListLocationsResponse;
+import com.google.cloud.location.Location;
import com.google.common.collect.Lists;
import com.google.iam.v1.AuditConfig;
import com.google.iam.v1.Binding;
@@ -38,6 +42,7 @@
import com.google.iam.v1.TestIamPermissionsRequest;
import com.google.iam.v1.TestIamPermissionsResponse;
import com.google.protobuf.AbstractMessage;
+import com.google.protobuf.Any;
import com.google.protobuf.ByteString;
import com.google.protobuf.Empty;
import com.google.protobuf.FieldMask;
@@ -45,6 +50,7 @@
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
+import java.util.HashMap;
import java.util.List;
import java.util.UUID;
import javax.annotation.Generated;
@@ -58,6 +64,7 @@
@Generated("by gapic-generator-java")
public class AnalyticsHubServiceClientTest {
private static MockAnalyticsHubService mockAnalyticsHubService;
+ private static MockLocations mockLocations;
private static MockServiceHelper mockServiceHelper;
private LocalChannelProvider channelProvider;
private AnalyticsHubServiceClient client;
@@ -65,9 +72,11 @@ public class AnalyticsHubServiceClientTest {
@BeforeClass
public static void startStaticServer() {
mockAnalyticsHubService = new MockAnalyticsHubService();
+ mockLocations = new MockLocations();
mockServiceHelper =
new MockServiceHelper(
- UUID.randomUUID().toString(), Arrays.asList(mockAnalyticsHubService));
+ UUID.randomUUID().toString(),
+ Arrays.asList(mockAnalyticsHubService, mockLocations));
mockServiceHelper.start();
}
@@ -624,7 +633,7 @@ public void getListingTest() throws Exception {
.setDocumentation("documentation1587405498")
.setIcon(ByteString.EMPTY)
.setDataProvider(DataProvider.newBuilder().build())
- .addAllCategories(new ArrayList())
+ .addAllCategories(new ArrayList())
.setPublisher(Publisher.newBuilder().build())
.setRequestAccess("requestAccess871967955")
.build();
@@ -673,7 +682,7 @@ public void getListingTest2() throws Exception {
.setDocumentation("documentation1587405498")
.setIcon(ByteString.EMPTY)
.setDataProvider(DataProvider.newBuilder().build())
- .addAllCategories(new ArrayList())
+ .addAllCategories(new ArrayList())
.setPublisher(Publisher.newBuilder().build())
.setRequestAccess("requestAccess871967955")
.build();
@@ -722,7 +731,7 @@ public void createListingTest() throws Exception {
.setDocumentation("documentation1587405498")
.setIcon(ByteString.EMPTY)
.setDataProvider(DataProvider.newBuilder().build())
- .addAllCategories(new ArrayList())
+ .addAllCategories(new ArrayList())
.setPublisher(Publisher.newBuilder().build())
.setRequestAccess("requestAccess871967955")
.build();
@@ -774,7 +783,7 @@ public void createListingTest2() throws Exception {
.setDocumentation("documentation1587405498")
.setIcon(ByteString.EMPTY)
.setDataProvider(DataProvider.newBuilder().build())
- .addAllCategories(new ArrayList())
+ .addAllCategories(new ArrayList())
.setPublisher(Publisher.newBuilder().build())
.setRequestAccess("requestAccess871967955")
.build();
@@ -826,7 +835,7 @@ public void updateListingTest() throws Exception {
.setDocumentation("documentation1587405498")
.setIcon(ByteString.EMPTY)
.setDataProvider(DataProvider.newBuilder().build())
- .addAllCategories(new ArrayList())
+ .addAllCategories(new ArrayList())
.setPublisher(Publisher.newBuilder().build())
.setRequestAccess("requestAccess871967955")
.build();
@@ -1156,4 +1165,105 @@ public void testIamPermissionsExceptionTest() throws Exception {
// Expected exception.
}
}
+
+ @Test
+ public void listLocationsTest() throws Exception {
+ Location responsesElement = Location.newBuilder().build();
+ ListLocationsResponse expectedResponse =
+ ListLocationsResponse.newBuilder()
+ .setNextPageToken("")
+ .addAllLocations(Arrays.asList(responsesElement))
+ .build();
+ mockLocations.addResponse(expectedResponse);
+
+ ListLocationsRequest request =
+ ListLocationsRequest.newBuilder()
+ .setName("name3373707")
+ .setFilter("filter-1274492040")
+ .setPageSize(883849137)
+ .setPageToken("pageToken873572522")
+ .build();
+
+ ListLocationsPagedResponse pagedListResponse = client.listLocations(request);
+
+ List resources = Lists.newArrayList(pagedListResponse.iterateAll());
+
+ Assert.assertEquals(1, resources.size());
+ Assert.assertEquals(expectedResponse.getLocationsList().get(0), resources.get(0));
+
+ List actualRequests = mockLocations.getRequests();
+ Assert.assertEquals(1, actualRequests.size());
+ ListLocationsRequest actualRequest = ((ListLocationsRequest) actualRequests.get(0));
+
+ Assert.assertEquals(request.getName(), actualRequest.getName());
+ Assert.assertEquals(request.getFilter(), actualRequest.getFilter());
+ Assert.assertEquals(request.getPageSize(), actualRequest.getPageSize());
+ Assert.assertEquals(request.getPageToken(), actualRequest.getPageToken());
+ Assert.assertTrue(
+ channelProvider.isHeaderSent(
+ ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
+ GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
+ }
+
+ @Test
+ public void listLocationsExceptionTest() throws Exception {
+ StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT);
+ mockLocations.addException(exception);
+
+ try {
+ ListLocationsRequest request =
+ ListLocationsRequest.newBuilder()
+ .setName("name3373707")
+ .setFilter("filter-1274492040")
+ .setPageSize(883849137)
+ .setPageToken("pageToken873572522")
+ .build();
+ client.listLocations(request);
+ Assert.fail("No exception raised");
+ } catch (InvalidArgumentException e) {
+ // Expected exception.
+ }
+ }
+
+ @Test
+ public void getLocationTest() throws Exception {
+ Location expectedResponse =
+ Location.newBuilder()
+ .setName("name3373707")
+ .setLocationId("locationId1541836720")
+ .setDisplayName("displayName1714148973")
+ .putAllLabels(new HashMap())
+ .setMetadata(Any.newBuilder().build())
+ .build();
+ mockLocations.addResponse(expectedResponse);
+
+ GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
+
+ Location actualResponse = client.getLocation(request);
+ Assert.assertEquals(expectedResponse, actualResponse);
+
+ List actualRequests = mockLocations.getRequests();
+ Assert.assertEquals(1, actualRequests.size());
+ GetLocationRequest actualRequest = ((GetLocationRequest) actualRequests.get(0));
+
+ Assert.assertEquals(request.getName(), actualRequest.getName());
+ Assert.assertTrue(
+ channelProvider.isHeaderSent(
+ ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
+ GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
+ }
+
+ @Test
+ public void getLocationExceptionTest() throws Exception {
+ StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT);
+ mockLocations.addException(exception);
+
+ try {
+ GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
+ client.getLocation(request);
+ Assert.fail("No exception raised");
+ } catch (InvalidArgumentException e) {
+ // Expected exception.
+ }
+ }
}
diff --git a/java-bigquery-data-exchange/google-cloud-bigquery-data-exchange/src/test/java/com/google/cloud/bigquery/dataexchange/v1beta1/MockLocations.java b/java-bigquery-data-exchange/google-cloud-bigquery-data-exchange/src/test/java/com/google/cloud/bigquery/dataexchange/v1beta1/MockLocations.java
new file mode 100644
index 000000000000..4195aacecfaa
--- /dev/null
+++ b/java-bigquery-data-exchange/google-cloud-bigquery-data-exchange/src/test/java/com/google/cloud/bigquery/dataexchange/v1beta1/MockLocations.java
@@ -0,0 +1,59 @@
+/*
+ * Copyright 2022 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.google.cloud.bigquery.dataexchange.v1beta1;
+
+import com.google.api.core.BetaApi;
+import com.google.api.gax.grpc.testing.MockGrpcService;
+import com.google.protobuf.AbstractMessage;
+import io.grpc.ServerServiceDefinition;
+import java.util.List;
+import javax.annotation.Generated;
+
+@BetaApi
+@Generated("by gapic-generator-java")
+public class MockLocations implements MockGrpcService {
+ private final MockLocationsImpl serviceImpl;
+
+ public MockLocations() {
+ serviceImpl = new MockLocationsImpl();
+ }
+
+ @Override
+ public List getRequests() {
+ return serviceImpl.getRequests();
+ }
+
+ @Override
+ public void addResponse(AbstractMessage response) {
+ serviceImpl.addResponse(response);
+ }
+
+ @Override
+ public void addException(Exception exception) {
+ serviceImpl.addException(exception);
+ }
+
+ @Override
+ public ServerServiceDefinition getServiceDefinition() {
+ return serviceImpl.bindService();
+ }
+
+ @Override
+ public void reset() {
+ serviceImpl.reset();
+ }
+}
diff --git a/java-bigquery-data-exchange/google-cloud-bigquery-data-exchange/src/test/java/com/google/cloud/bigquery/dataexchange/v1beta1/MockLocationsImpl.java b/java-bigquery-data-exchange/google-cloud-bigquery-data-exchange/src/test/java/com/google/cloud/bigquery/dataexchange/v1beta1/MockLocationsImpl.java
new file mode 100644
index 000000000000..42b0f70bcaa9
--- /dev/null
+++ b/java-bigquery-data-exchange/google-cloud-bigquery-data-exchange/src/test/java/com/google/cloud/bigquery/dataexchange/v1beta1/MockLocationsImpl.java
@@ -0,0 +1,105 @@
+/*
+ * Copyright 2022 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.google.cloud.bigquery.dataexchange.v1beta1;
+
+import com.google.api.core.BetaApi;
+import com.google.cloud.location.GetLocationRequest;
+import com.google.cloud.location.ListLocationsRequest;
+import com.google.cloud.location.ListLocationsResponse;
+import com.google.cloud.location.Location;
+import com.google.cloud.location.LocationsGrpc.LocationsImplBase;
+import com.google.protobuf.AbstractMessage;
+import io.grpc.stub.StreamObserver;
+import java.util.ArrayList;
+import java.util.LinkedList;
+import java.util.List;
+import java.util.Queue;
+import javax.annotation.Generated;
+
+@BetaApi
+@Generated("by gapic-generator-java")
+public class MockLocationsImpl extends LocationsImplBase {
+ private List requests;
+ private Queue responses;
+
+ public MockLocationsImpl() {
+ requests = new ArrayList<>();
+ responses = new LinkedList<>();
+ }
+
+ public List getRequests() {
+ return requests;
+ }
+
+ public void addResponse(AbstractMessage response) {
+ responses.add(response);
+ }
+
+ public void setResponses(List responses) {
+ this.responses = new LinkedList(responses);
+ }
+
+ public void addException(Exception exception) {
+ responses.add(exception);
+ }
+
+ public void reset() {
+ requests = new ArrayList<>();
+ responses = new LinkedList<>();
+ }
+
+ @Override
+ public void listLocations(
+ ListLocationsRequest request, StreamObserver responseObserver) {
+ Object response = responses.poll();
+ if (response instanceof ListLocationsResponse) {
+ requests.add(request);
+ responseObserver.onNext(((ListLocationsResponse) response));
+ responseObserver.onCompleted();
+ } else if (response instanceof Exception) {
+ responseObserver.onError(((Exception) response));
+ } else {
+ responseObserver.onError(
+ new IllegalArgumentException(
+ String.format(
+ "Unrecognized response type %s for method ListLocations, expected %s or %s",
+ response == null ? "null" : response.getClass().getName(),
+ ListLocationsResponse.class.getName(),
+ Exception.class.getName())));
+ }
+ }
+
+ @Override
+ public void getLocation(GetLocationRequest request, StreamObserver responseObserver) {
+ Object response = responses.poll();
+ if (response instanceof Location) {
+ requests.add(request);
+ responseObserver.onNext(((Location) response));
+ responseObserver.onCompleted();
+ } else if (response instanceof Exception) {
+ responseObserver.onError(((Exception) response));
+ } else {
+ responseObserver.onError(
+ new IllegalArgumentException(
+ String.format(
+ "Unrecognized response type %s for method GetLocation, expected %s or %s",
+ response == null ? "null" : response.getClass().getName(),
+ Location.class.getName(),
+ Exception.class.getName())));
+ }
+ }
+}
diff --git a/java-bigquery-data-exchange/grpc-google-cloud-bigquery-data-exchange-v1beta1/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/AnalyticsHubServiceGrpc.java b/java-bigquery-data-exchange/grpc-google-cloud-bigquery-data-exchange-v1beta1/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/AnalyticsHubServiceGrpc.java
index 22d6a5644b68..b4bad196530e 100644
--- a/java-bigquery-data-exchange/grpc-google-cloud-bigquery-data-exchange-v1beta1/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/AnalyticsHubServiceGrpc.java
+++ b/java-bigquery-data-exchange/grpc-google-cloud-bigquery-data-exchange-v1beta1/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/AnalyticsHubServiceGrpc.java
@@ -21,11 +21,12 @@
*
*
*
- * The AnalyticsHubService API facilitates data sharing within and across
- * organizations. It allows data providers to publish Listings --- a
- * discoverable and searchable SKU representing a dataset. Data consumers can
- * subscribe to Listings. Upon subscription, AnalyticsHub provisions a "Linked
- * Datasets" surfacing the data in the consumer's project.
+ * The `AnalyticsHubService` API facilitates data sharing within and across
+ * organizations. It allows data providers to publish listings that reference
+ * shared datasets. With Analytics Hub, users can discover and search for
+ * listings that they have access to. Subscribers can view and subscribe to
+ * listings. When you subscribe to a listing, Analytics Hub creates a linked
+ * dataset in your project.
*
*/
@javax.annotation.Generated(
@@ -784,11 +785,12 @@ public AnalyticsHubServiceFutureStub newStub(
*
*
*
- * The AnalyticsHubService API facilitates data sharing within and across
- * organizations. It allows data providers to publish Listings --- a
- * discoverable and searchable SKU representing a dataset. Data consumers can
- * subscribe to Listings. Upon subscription, AnalyticsHub provisions a "Linked
- * Datasets" surfacing the data in the consumer's project.
+ * The `AnalyticsHubService` API facilitates data sharing within and across
+ * organizations. It allows data providers to publish listings that reference
+ * shared datasets. With Analytics Hub, users can discover and search for
+ * listings that they have access to. Subscribers can view and subscribe to
+ * listings. When you subscribe to a listing, Analytics Hub creates a linked
+ * dataset in your project.
*
*/
public abstract static class AnalyticsHubServiceImplBase implements io.grpc.BindableService {
@@ -797,7 +799,7 @@ public abstract static class AnalyticsHubServiceImplBase implements io.grpc.Bind
*
*
*
- * Lists DataExchanges in a given project and location.
+ * Lists all data exchanges in a given project and location.
*
*/
public void listDataExchanges(
@@ -813,7 +815,8 @@ public void listDataExchanges(
*
*
*
- * Lists DataExchanges from projects in a given organization and location.
+ * Lists all data exchanges from projects in a given organization and
+ * location.
*
*/
public void listOrgDataExchanges(
@@ -829,7 +832,7 @@ public void listOrgDataExchanges(
*
*
*
- * Gets details of a single DataExchange.
+ * Gets the details of a data exchange.
*
*/
public void getDataExchange(
@@ -844,7 +847,7 @@ public void getDataExchange(
*
*
*
- * Creates a new DataExchange in a given project and location.
+ * Creates a new data exchange.
*
*/
public void createDataExchange(
@@ -859,7 +862,7 @@ public void createDataExchange(
*
*
*
- * Updates the parameters of a single DataExchange.
+ * Updates an existing data exchange.
*
*/
public void updateDataExchange(
@@ -874,7 +877,7 @@ public void updateDataExchange(
*
*
*
- * Deletes a single DataExchange.
+ * Deletes an existing data exchange.
*
*/
public void deleteDataExchange(
@@ -888,7 +891,7 @@ public void deleteDataExchange(
*
*
*
- * Lists Listings in a given project and location.
+ * Lists all listings in a given project and location.
*
*/
public void listListings(
@@ -904,7 +907,7 @@ public void listListings(
*
*
*
- * Gets details of a single Listing.
+ * Gets the details of a listing.
*
*/
public void getListing(
@@ -918,7 +921,7 @@ public void getListing(
*
*
*
- * Creates a new Listing in a given project and location.
+ * Creates a new listing.
*
*/
public void createListing(
@@ -933,7 +936,7 @@ public void createListing(
*
*
*
- * Updates the parameters of a single Listing.
+ * Updates an existing listing.
*
*/
public void updateListing(
@@ -948,8 +951,7 @@ public void updateListing(
*
*
*
- * Deletes a single Listing, as long as there are no subscriptions
- * associated with the source of this Listing.
+ * Deletes a listing.
*
*/
public void deleteListing(
@@ -963,9 +965,10 @@ public void deleteListing(
*
*
*
- * Subscribes to a single Listing.
- * Data Exchange currently supports one type of Listing: a BigQuery dataset.
- * Upon subscription to a Listing for a BigQuery dataset, Data Exchange
+ * Subscribes to a listing.
+ * Currently, with Analytics Hub, you can create listings that
+ * reference only BigQuery datasets.
+ * Upon subscription to a listing for a BigQuery dataset, Analytics Hub
* creates a linked dataset in the subscriber's project.
*
*/
@@ -982,7 +985,7 @@ public void subscribeListing(
*
*
*
- * Gets the IAM policy for a dataExchange or a listing.
+ * Gets the IAM policy.
*
*/
public void getIamPolicy(
@@ -996,7 +999,7 @@ public void getIamPolicy(
*
*
*
- * Sets the IAM policy for a dataExchange or a listing.
+ * Sets the IAM policy.
*
*/
public void setIamPolicy(
@@ -1010,8 +1013,7 @@ public void setIamPolicy(
*
*
*
- * Returns the permissions that a caller has on a specified dataExchange or
- * listing.
+ * Returns the permissions that a caller has.
*
*/
public void testIamPermissions(
@@ -1134,11 +1136,12 @@ public final io.grpc.ServerServiceDefinition bindService() {
*
*
*
- * The AnalyticsHubService API facilitates data sharing within and across
- * organizations. It allows data providers to publish Listings --- a
- * discoverable and searchable SKU representing a dataset. Data consumers can
- * subscribe to Listings. Upon subscription, AnalyticsHub provisions a "Linked
- * Datasets" surfacing the data in the consumer's project.
+ * The `AnalyticsHubService` API facilitates data sharing within and across
+ * organizations. It allows data providers to publish listings that reference
+ * shared datasets. With Analytics Hub, users can discover and search for
+ * listings that they have access to. Subscribers can view and subscribe to
+ * listings. When you subscribe to a listing, Analytics Hub creates a linked
+ * dataset in your project.
*
*/
public static final class AnalyticsHubServiceStub
@@ -1157,7 +1160,7 @@ protected AnalyticsHubServiceStub build(
*
*
*
- * Lists DataExchanges in a given project and location.
+ * Lists all data exchanges in a given project and location.
*
*/
public void listDataExchanges(
@@ -1175,7 +1178,8 @@ public void listDataExchanges(
*
*
*
- * Lists DataExchanges from projects in a given organization and location.
+ * Lists all data exchanges from projects in a given organization and
+ * location.
*
*/
public void listOrgDataExchanges(
@@ -1193,7 +1197,7 @@ public void listOrgDataExchanges(
*
*
*
- * Gets details of a single DataExchange.
+ * Gets the details of a data exchange.
*
*/
public void getDataExchange(
@@ -1210,7 +1214,7 @@ public void getDataExchange(
*
*
*
- * Creates a new DataExchange in a given project and location.
+ * Creates a new data exchange.
*
*/
public void createDataExchange(
@@ -1227,7 +1231,7 @@ public void createDataExchange(
*
*
*
- * Updates the parameters of a single DataExchange.
+ * Updates an existing data exchange.
*
*/
public void updateDataExchange(
@@ -1244,7 +1248,7 @@ public void updateDataExchange(
*
*
*
- * Deletes a single DataExchange.
+ * Deletes an existing data exchange.
*
*/
public void deleteDataExchange(
@@ -1260,7 +1264,7 @@ public void deleteDataExchange(
*
*
*
- * Lists Listings in a given project and location.
+ * Lists all listings in a given project and location.
*
*/
public void listListings(
@@ -1278,7 +1282,7 @@ public void listListings(
*
*
*
- * Gets details of a single Listing.
+ * Gets the details of a listing.
*
*/
public void getListing(
@@ -1293,7 +1297,7 @@ public void getListing(
*
*
*
- * Creates a new Listing in a given project and location.
+ * Creates a new listing.
*
*/
public void createListing(
@@ -1310,7 +1314,7 @@ public void createListing(
*
*
*
- * Updates the parameters of a single Listing.
+ * Updates an existing listing.
*
*/
public void updateListing(
@@ -1327,8 +1331,7 @@ public void updateListing(
*
*
*
- * Deletes a single Listing, as long as there are no subscriptions
- * associated with the source of this Listing.
+ * Deletes a listing.
*
*/
public void deleteListing(
@@ -1344,9 +1347,10 @@ public void deleteListing(
*
*
*
- * Subscribes to a single Listing.
- * Data Exchange currently supports one type of Listing: a BigQuery dataset.
- * Upon subscription to a Listing for a BigQuery dataset, Data Exchange
+ * Subscribes to a listing.
+ * Currently, with Analytics Hub, you can create listings that
+ * reference only BigQuery datasets.
+ * Upon subscription to a listing for a BigQuery dataset, Analytics Hub
* creates a linked dataset in the subscriber's project.
*
*/
@@ -1365,7 +1369,7 @@ public void subscribeListing(
*
*
*
- * Gets the IAM policy for a dataExchange or a listing.
+ * Gets the IAM policy.
*
*/
public void getIamPolicy(
@@ -1381,7 +1385,7 @@ public void getIamPolicy(
*
*
*
- * Sets the IAM policy for a dataExchange or a listing.
+ * Sets the IAM policy.
*
*/
public void setIamPolicy(
@@ -1397,8 +1401,7 @@ public void setIamPolicy(
*
*
*
- * Returns the permissions that a caller has on a specified dataExchange or
- * listing.
+ * Returns the permissions that a caller has.
*
*/
public void testIamPermissions(
@@ -1416,11 +1419,12 @@ public void testIamPermissions(
*
*
*
- * The AnalyticsHubService API facilitates data sharing within and across
- * organizations. It allows data providers to publish Listings --- a
- * discoverable and searchable SKU representing a dataset. Data consumers can
- * subscribe to Listings. Upon subscription, AnalyticsHub provisions a "Linked
- * Datasets" surfacing the data in the consumer's project.
+ * The `AnalyticsHubService` API facilitates data sharing within and across
+ * organizations. It allows data providers to publish listings that reference
+ * shared datasets. With Analytics Hub, users can discover and search for
+ * listings that they have access to. Subscribers can view and subscribe to
+ * listings. When you subscribe to a listing, Analytics Hub creates a linked
+ * dataset in your project.
*
*/
public static final class AnalyticsHubServiceBlockingStub
@@ -1440,7 +1444,7 @@ protected AnalyticsHubServiceBlockingStub build(
*
*
*
- * Lists DataExchanges in a given project and location.
+ * Lists all data exchanges in a given project and location.
*
*/
public com.google.cloud.bigquery.dataexchange.v1beta1.ListDataExchangesResponse
@@ -1454,7 +1458,8 @@ protected AnalyticsHubServiceBlockingStub build(
*
*
*
- * Lists DataExchanges from projects in a given organization and location.
+ * Lists all data exchanges from projects in a given organization and
+ * location.
*
*/
public com.google.cloud.bigquery.dataexchange.v1beta1.ListOrgDataExchangesResponse
@@ -1468,7 +1473,7 @@ protected AnalyticsHubServiceBlockingStub build(
*
*
*
- * Gets details of a single DataExchange.
+ * Gets the details of a data exchange.
*
*/
public com.google.cloud.bigquery.dataexchange.v1beta1.DataExchange getDataExchange(
@@ -1481,7 +1486,7 @@ public com.google.cloud.bigquery.dataexchange.v1beta1.DataExchange getDataExchan
*
*
*
- * Creates a new DataExchange in a given project and location.
+ * Creates a new data exchange.
*
*/
public com.google.cloud.bigquery.dataexchange.v1beta1.DataExchange createDataExchange(
@@ -1494,7 +1499,7 @@ public com.google.cloud.bigquery.dataexchange.v1beta1.DataExchange createDataExc
*
*
*
- * Updates the parameters of a single DataExchange.
+ * Updates an existing data exchange.
*
*/
public com.google.cloud.bigquery.dataexchange.v1beta1.DataExchange updateDataExchange(
@@ -1507,7 +1512,7 @@ public com.google.cloud.bigquery.dataexchange.v1beta1.DataExchange updateDataExc
*
*
*
- * Deletes a single DataExchange.
+ * Deletes an existing data exchange.
*
*/
public com.google.protobuf.Empty deleteDataExchange(
@@ -1520,7 +1525,7 @@ public com.google.protobuf.Empty deleteDataExchange(
*
*
*
- * Lists Listings in a given project and location.
+ * Lists all listings in a given project and location.
*
*/
public com.google.cloud.bigquery.dataexchange.v1beta1.ListListingsResponse listListings(
@@ -1533,7 +1538,7 @@ public com.google.cloud.bigquery.dataexchange.v1beta1.ListListingsResponse listL
*
*
*
- * Gets details of a single Listing.
+ * Gets the details of a listing.
*
*/
public com.google.cloud.bigquery.dataexchange.v1beta1.Listing getListing(
@@ -1546,7 +1551,7 @@ public com.google.cloud.bigquery.dataexchange.v1beta1.Listing getListing(
*
*
*
- * Creates a new Listing in a given project and location.
+ * Creates a new listing.
*
*/
public com.google.cloud.bigquery.dataexchange.v1beta1.Listing createListing(
@@ -1559,7 +1564,7 @@ public com.google.cloud.bigquery.dataexchange.v1beta1.Listing createListing(
*
*
*
- * Updates the parameters of a single Listing.
+ * Updates an existing listing.
*
*/
public com.google.cloud.bigquery.dataexchange.v1beta1.Listing updateListing(
@@ -1572,8 +1577,7 @@ public com.google.cloud.bigquery.dataexchange.v1beta1.Listing updateListing(
*
*
*
- * Deletes a single Listing, as long as there are no subscriptions
- * associated with the source of this Listing.
+ * Deletes a listing.
*
*/
public com.google.protobuf.Empty deleteListing(
@@ -1586,9 +1590,10 @@ public com.google.protobuf.Empty deleteListing(
*
*
*
- * Subscribes to a single Listing.
- * Data Exchange currently supports one type of Listing: a BigQuery dataset.
- * Upon subscription to a Listing for a BigQuery dataset, Data Exchange
+ * Subscribes to a listing.
+ * Currently, with Analytics Hub, you can create listings that
+ * reference only BigQuery datasets.
+ * Upon subscription to a listing for a BigQuery dataset, Analytics Hub
* creates a linked dataset in the subscriber's project.
*
*/
@@ -1602,7 +1607,7 @@ public com.google.cloud.bigquery.dataexchange.v1beta1.SubscribeListingResponse s
*
*
*
- * Gets the IAM policy for a dataExchange or a listing.
+ * Gets the IAM policy.
*
*/
public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) {
@@ -1614,7 +1619,7 @@ public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyReque
*
*
*
- * Sets the IAM policy for a dataExchange or a listing.
+ * Sets the IAM policy.
*
*/
public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) {
@@ -1626,8 +1631,7 @@ public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyReque
*
*
*
- * Returns the permissions that a caller has on a specified dataExchange or
- * listing.
+ * Returns the permissions that a caller has.
*
*/
public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions(
@@ -1641,11 +1645,12 @@ public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions(
*
*
*
- * The AnalyticsHubService API facilitates data sharing within and across
- * organizations. It allows data providers to publish Listings --- a
- * discoverable and searchable SKU representing a dataset. Data consumers can
- * subscribe to Listings. Upon subscription, AnalyticsHub provisions a "Linked
- * Datasets" surfacing the data in the consumer's project.
+ * The `AnalyticsHubService` API facilitates data sharing within and across
+ * organizations. It allows data providers to publish listings that reference
+ * shared datasets. With Analytics Hub, users can discover and search for
+ * listings that they have access to. Subscribers can view and subscribe to
+ * listings. When you subscribe to a listing, Analytics Hub creates a linked
+ * dataset in your project.
*
*/
public static final class AnalyticsHubServiceFutureStub
@@ -1665,7 +1670,7 @@ protected AnalyticsHubServiceFutureStub build(
*
*
*
- * Lists DataExchanges in a given project and location.
+ * Lists all data exchanges in a given project and location.
*
*/
public com.google.common.util.concurrent.ListenableFuture<
@@ -1680,7 +1685,8 @@ protected AnalyticsHubServiceFutureStub build(
*
*
*
- * Lists DataExchanges from projects in a given organization and location.
+ * Lists all data exchanges from projects in a given organization and
+ * location.
*
*/
public com.google.common.util.concurrent.ListenableFuture<
@@ -1695,7 +1701,7 @@ protected AnalyticsHubServiceFutureStub build(
*
*
*
- * Gets details of a single DataExchange.
+ * Gets the details of a data exchange.
*
*/
public com.google.common.util.concurrent.ListenableFuture<
@@ -1710,7 +1716,7 @@ protected AnalyticsHubServiceFutureStub build(
*
*
*
- * Creates a new DataExchange in a given project and location.
+ * Creates a new data exchange.
*
*/
public com.google.common.util.concurrent.ListenableFuture<
@@ -1725,7 +1731,7 @@ protected AnalyticsHubServiceFutureStub build(
*
*
*
- * Updates the parameters of a single DataExchange.
+ * Updates an existing data exchange.
*
*/
public com.google.common.util.concurrent.ListenableFuture<
@@ -1740,7 +1746,7 @@ protected AnalyticsHubServiceFutureStub build(
*
*
*
- * Deletes a single DataExchange.
+ * Deletes an existing data exchange.
*
*/
public com.google.common.util.concurrent.ListenableFuture
@@ -1754,7 +1760,7 @@ protected AnalyticsHubServiceFutureStub build(
*
*
*
- * Lists Listings in a given project and location.
+ * Lists all listings in a given project and location.
*
*/
public com.google.common.util.concurrent.ListenableFuture<
@@ -1768,7 +1774,7 @@ protected AnalyticsHubServiceFutureStub build(
*
*
*
- * Gets details of a single Listing.
+ * Gets the details of a listing.
*
*/
public com.google.common.util.concurrent.ListenableFuture<
@@ -1782,7 +1788,7 @@ protected AnalyticsHubServiceFutureStub build(
*
*
*
- * Creates a new Listing in a given project and location.
+ * Creates a new listing.
*
*/
public com.google.common.util.concurrent.ListenableFuture<
@@ -1796,7 +1802,7 @@ protected AnalyticsHubServiceFutureStub build(
*
*
*
- * Updates the parameters of a single Listing.
+ * Updates an existing listing.
*
*/
public com.google.common.util.concurrent.ListenableFuture<
@@ -1810,8 +1816,7 @@ protected AnalyticsHubServiceFutureStub build(
*
*
*
- * Deletes a single Listing, as long as there are no subscriptions
- * associated with the source of this Listing.
+ * Deletes a listing.
*
*/
public com.google.common.util.concurrent.ListenableFuture
@@ -1824,9 +1829,10 @@ protected AnalyticsHubServiceFutureStub build(
*
*
*
- * Subscribes to a single Listing.
- * Data Exchange currently supports one type of Listing: a BigQuery dataset.
- * Upon subscription to a Listing for a BigQuery dataset, Data Exchange
+ * Subscribes to a listing.
+ * Currently, with Analytics Hub, you can create listings that
+ * reference only BigQuery datasets.
+ * Upon subscription to a listing for a BigQuery dataset, Analytics Hub
* creates a linked dataset in the subscriber's project.
*
*/
@@ -1842,7 +1848,7 @@ protected AnalyticsHubServiceFutureStub build(
*
*
*
- * Gets the IAM policy for a dataExchange or a listing.
+ * Gets the IAM policy.
*
*/
public com.google.common.util.concurrent.ListenableFuture
@@ -1855,7 +1861,7 @@ protected AnalyticsHubServiceFutureStub build(
*
*
*
- * Sets the IAM policy for a dataExchange or a listing.
+ * Sets the IAM policy.
*
*/
public com.google.common.util.concurrent.ListenableFuture
@@ -1868,8 +1874,7 @@ protected AnalyticsHubServiceFutureStub build(
*
*
*
- * Returns the permissions that a caller has on a specified dataExchange or
- * listing.
+ * Returns the permissions that a caller has.
*
*/
public com.google.common.util.concurrent.ListenableFuture<
diff --git a/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/CreateDataExchangeRequest.java b/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/CreateDataExchangeRequest.java
index cdcfec2aece1..3b220bb5dbf3 100644
--- a/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/CreateDataExchangeRequest.java
+++ b/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/CreateDataExchangeRequest.java
@@ -22,7 +22,7 @@
*
*
*
- * Message for creating a DataExchange.
+ * Message for creating a data exchange.
*
*
* Protobuf type {@code google.cloud.bigquery.dataexchange.v1beta1.CreateDataExchangeRequest}
@@ -144,7 +144,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
*
- * Required. The parent resource path of the DataExchange.
+ * Required. The parent resource path of the data exchange.
* e.g. `projects/myproject/locations/US`.
*
*
@@ -170,7 +170,7 @@ public java.lang.String getParent() {
*
*
*
- * Required. The parent resource path of the DataExchange.
+ * Required. The parent resource path of the data exchange.
* e.g. `projects/myproject/locations/US`.
*
*
@@ -199,7 +199,7 @@ public com.google.protobuf.ByteString getParentBytes() {
*
*
*
- * Required. The ID of the DataExchange to create.
+ * Required. The ID of the data exchange.
* Must contain only Unicode letters, numbers (0-9), underscores (_).
* Should not use characters that require URL-escaping, or characters
* outside of ASCII, spaces.
@@ -226,7 +226,7 @@ public java.lang.String getDataExchangeId() {
*
*
*
- * Required. The ID of the DataExchange to create.
+ * Required. The ID of the data exchange.
* Must contain only Unicode letters, numbers (0-9), underscores (_).
* Should not use characters that require URL-escaping, or characters
* outside of ASCII, spaces.
@@ -256,7 +256,7 @@ public com.google.protobuf.ByteString getDataExchangeIdBytes() {
*
*
*
- * Required. The DataExchange to create.
+ * Required. The data exchange to create.
*
*
*
@@ -273,7 +273,7 @@ public boolean hasDataExchange() {
*
*
*
- * Required. The DataExchange to create.
+ * Required. The data exchange to create.
*
*
*
@@ -292,7 +292,7 @@ public com.google.cloud.bigquery.dataexchange.v1beta1.DataExchange getDataExchan
*
*
*
- * Required. The DataExchange to create.
+ * Required. The data exchange to create.
*
*
*
@@ -494,7 +494,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
*
*
- * Message for creating a DataExchange.
+ * Message for creating a data exchange.
*
*
* Protobuf type {@code google.cloud.bigquery.dataexchange.v1beta1.CreateDataExchangeRequest}
@@ -685,7 +685,7 @@ public Builder mergeFrom(
*
*
*
- * Required. The parent resource path of the DataExchange.
+ * Required. The parent resource path of the data exchange.
* e.g. `projects/myproject/locations/US`.
*
*
@@ -710,7 +710,7 @@ public java.lang.String getParent() {
*
*
*
- * Required. The parent resource path of the DataExchange.
+ * Required. The parent resource path of the data exchange.
* e.g. `projects/myproject/locations/US`.
*
*
@@ -735,7 +735,7 @@ public com.google.protobuf.ByteString getParentBytes() {
*
*
*
- * Required. The parent resource path of the DataExchange.
+ * Required. The parent resource path of the data exchange.
* e.g. `projects/myproject/locations/US`.
*
*
@@ -759,7 +759,7 @@ public Builder setParent(java.lang.String value) {
*
*
*
- * Required. The parent resource path of the DataExchange.
+ * Required. The parent resource path of the data exchange.
* e.g. `projects/myproject/locations/US`.
*
*
@@ -779,7 +779,7 @@ public Builder clearParent() {
*
*
*
- * Required. The parent resource path of the DataExchange.
+ * Required. The parent resource path of the data exchange.
* e.g. `projects/myproject/locations/US`.
*
*
@@ -806,7 +806,7 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
*
*
*
- * Required. The ID of the DataExchange to create.
+ * Required. The ID of the data exchange.
* Must contain only Unicode letters, numbers (0-9), underscores (_).
* Should not use characters that require URL-escaping, or characters
* outside of ASCII, spaces.
@@ -832,7 +832,7 @@ public java.lang.String getDataExchangeId() {
*
*
*
- * Required. The ID of the DataExchange to create.
+ * Required. The ID of the data exchange.
* Must contain only Unicode letters, numbers (0-9), underscores (_).
* Should not use characters that require URL-escaping, or characters
* outside of ASCII, spaces.
@@ -858,7 +858,7 @@ public com.google.protobuf.ByteString getDataExchangeIdBytes() {
*
*
*
- * Required. The ID of the DataExchange to create.
+ * Required. The ID of the data exchange.
* Must contain only Unicode letters, numbers (0-9), underscores (_).
* Should not use characters that require URL-escaping, or characters
* outside of ASCII, spaces.
@@ -883,7 +883,7 @@ public Builder setDataExchangeId(java.lang.String value) {
*
*
*
- * Required. The ID of the DataExchange to create.
+ * Required. The ID of the data exchange.
* Must contain only Unicode letters, numbers (0-9), underscores (_).
* Should not use characters that require URL-escaping, or characters
* outside of ASCII, spaces.
@@ -904,7 +904,7 @@ public Builder clearDataExchangeId() {
*
*
*
- * Required. The ID of the DataExchange to create.
+ * Required. The ID of the data exchange.
* Must contain only Unicode letters, numbers (0-9), underscores (_).
* Should not use characters that require URL-escaping, or characters
* outside of ASCII, spaces.
@@ -937,7 +937,7 @@ public Builder setDataExchangeIdBytes(com.google.protobuf.ByteString value) {
*
*
*
- * Required. The DataExchange to create.
+ * Required. The data exchange to create.
*
*
*
@@ -953,7 +953,7 @@ public boolean hasDataExchange() {
*
*
*
- * Required. The DataExchange to create.
+ * Required. The data exchange to create.
*
*
*
@@ -975,7 +975,7 @@ public com.google.cloud.bigquery.dataexchange.v1beta1.DataExchange getDataExchan
*
*
*
- * Required. The DataExchange to create.
+ * Required. The data exchange to create.
*
*
*
@@ -1000,7 +1000,7 @@ public Builder setDataExchange(
*
*
*
- * Required. The DataExchange to create.
+ * Required. The data exchange to create.
*
*
*
@@ -1022,7 +1022,7 @@ public Builder setDataExchange(
*
*
*
- * Required. The DataExchange to create.
+ * Required. The data exchange to create.
*
*
*
@@ -1051,7 +1051,7 @@ public Builder mergeDataExchange(
*
*
*
- * Required. The DataExchange to create.
+ * Required. The data exchange to create.
*
*
*
@@ -1073,7 +1073,7 @@ public Builder clearDataExchange() {
*
*
*
- * Required. The DataExchange to create.
+ * Required. The data exchange to create.
*
*
*
@@ -1090,7 +1090,7 @@ public Builder clearDataExchange() {
*
*
*
- * Required. The DataExchange to create.
+ * Required. The data exchange to create.
*
*
*
@@ -1111,7 +1111,7 @@ public Builder clearDataExchange() {
*
*
*
- * Required. The DataExchange to create.
+ * Required. The data exchange to create.
*
*
*
diff --git a/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/CreateDataExchangeRequestOrBuilder.java b/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/CreateDataExchangeRequestOrBuilder.java
index e30ef884f14b..a1eb97bdd905 100644
--- a/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/CreateDataExchangeRequestOrBuilder.java
+++ b/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/CreateDataExchangeRequestOrBuilder.java
@@ -27,7 +27,7 @@ public interface CreateDataExchangeRequestOrBuilder
*
*
*
- * Required. The parent resource path of the DataExchange.
+ * Required. The parent resource path of the data exchange.
* e.g. `projects/myproject/locations/US`.
*
*
@@ -42,7 +42,7 @@ public interface CreateDataExchangeRequestOrBuilder
*
*
*
- * Required. The parent resource path of the DataExchange.
+ * Required. The parent resource path of the data exchange.
* e.g. `projects/myproject/locations/US`.
*
*
@@ -58,7 +58,7 @@ public interface CreateDataExchangeRequestOrBuilder
*
*
*
- * Required. The ID of the DataExchange to create.
+ * Required. The ID of the data exchange.
* Must contain only Unicode letters, numbers (0-9), underscores (_).
* Should not use characters that require URL-escaping, or characters
* outside of ASCII, spaces.
@@ -74,7 +74,7 @@ public interface CreateDataExchangeRequestOrBuilder
*
*
*
- * Required. The ID of the DataExchange to create.
+ * Required. The ID of the data exchange.
* Must contain only Unicode letters, numbers (0-9), underscores (_).
* Should not use characters that require URL-escaping, or characters
* outside of ASCII, spaces.
@@ -91,7 +91,7 @@ public interface CreateDataExchangeRequestOrBuilder
*
*
*
- * Required. The DataExchange to create.
+ * Required. The data exchange to create.
*
*
*
@@ -105,7 +105,7 @@ public interface CreateDataExchangeRequestOrBuilder
*
*
*
- * Required. The DataExchange to create.
+ * Required. The data exchange to create.
*
*
*
@@ -119,7 +119,7 @@ public interface CreateDataExchangeRequestOrBuilder
*
*
*
- * Required. The DataExchange to create.
+ * Required. The data exchange to create.
*
*
*
diff --git a/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/CreateListingRequest.java b/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/CreateListingRequest.java
index e029bac4137a..6b78071225a3 100644
--- a/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/CreateListingRequest.java
+++ b/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/CreateListingRequest.java
@@ -22,7 +22,7 @@
*
*
*
- * Message for creating a Listing.
+ * Message for creating a listing.
*
*
* Protobuf type {@code google.cloud.bigquery.dataexchange.v1beta1.CreateListingRequest}
@@ -199,7 +199,7 @@ public com.google.protobuf.ByteString getParentBytes() {
*
*
*
- * Required. The ID of the Listing to create.
+ * Required. The ID of the listing to create.
* Must contain only Unicode letters, numbers (0-9), underscores (_).
* Should not use characters that require URL-escaping, or characters
* outside of ASCII, spaces.
@@ -226,7 +226,7 @@ public java.lang.String getListingId() {
*
*
*
- * Required. The ID of the Listing to create.
+ * Required. The ID of the listing to create.
* Must contain only Unicode letters, numbers (0-9), underscores (_).
* Should not use characters that require URL-escaping, or characters
* outside of ASCII, spaces.
@@ -492,7 +492,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
*
*
- * Message for creating a Listing.
+ * Message for creating a listing.
*
*
* Protobuf type {@code google.cloud.bigquery.dataexchange.v1beta1.CreateListingRequest}
@@ -801,7 +801,7 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
*
*
*
- * Required. The ID of the Listing to create.
+ * Required. The ID of the listing to create.
* Must contain only Unicode letters, numbers (0-9), underscores (_).
* Should not use characters that require URL-escaping, or characters
* outside of ASCII, spaces.
@@ -827,7 +827,7 @@ public java.lang.String getListingId() {
*
*
*
- * Required. The ID of the Listing to create.
+ * Required. The ID of the listing to create.
* Must contain only Unicode letters, numbers (0-9), underscores (_).
* Should not use characters that require URL-escaping, or characters
* outside of ASCII, spaces.
@@ -853,7 +853,7 @@ public com.google.protobuf.ByteString getListingIdBytes() {
*
*
*
- * Required. The ID of the Listing to create.
+ * Required. The ID of the listing to create.
* Must contain only Unicode letters, numbers (0-9), underscores (_).
* Should not use characters that require URL-escaping, or characters
* outside of ASCII, spaces.
@@ -878,7 +878,7 @@ public Builder setListingId(java.lang.String value) {
*
*
*
- * Required. The ID of the Listing to create.
+ * Required. The ID of the listing to create.
* Must contain only Unicode letters, numbers (0-9), underscores (_).
* Should not use characters that require URL-escaping, or characters
* outside of ASCII, spaces.
@@ -899,7 +899,7 @@ public Builder clearListingId() {
*
*
*
- * Required. The ID of the Listing to create.
+ * Required. The ID of the listing to create.
* Must contain only Unicode letters, numbers (0-9), underscores (_).
* Should not use characters that require URL-escaping, or characters
* outside of ASCII, spaces.
diff --git a/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/CreateListingRequestOrBuilder.java b/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/CreateListingRequestOrBuilder.java
index e64f438cd82b..1fe9fd093c2d 100644
--- a/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/CreateListingRequestOrBuilder.java
+++ b/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/CreateListingRequestOrBuilder.java
@@ -58,7 +58,7 @@ public interface CreateListingRequestOrBuilder
*
*
*
- * Required. The ID of the Listing to create.
+ * Required. The ID of the listing to create.
* Must contain only Unicode letters, numbers (0-9), underscores (_).
* Should not use characters that require URL-escaping, or characters
* outside of ASCII, spaces.
@@ -74,7 +74,7 @@ public interface CreateListingRequestOrBuilder
*
*
*
- * Required. The ID of the Listing to create.
+ * Required. The ID of the listing to create.
* Must contain only Unicode letters, numbers (0-9), underscores (_).
* Should not use characters that require URL-escaping, or characters
* outside of ASCII, spaces.
diff --git a/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/DataExchange.java b/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/DataExchange.java
index a06b01d40b3b..80b1f5be8fe0 100644
--- a/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/DataExchange.java
+++ b/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/DataExchange.java
@@ -22,9 +22,9 @@
*
*
*
- * A data exchange is a container that enables data sharing.
- * It contains a set of listings of the data sources along with descriptive
- * information of the data exchange.
+ * A data exchange is a container that lets you share data. Along with the
+ * descriptive information about the data exchange, it contains listings that
+ * reference shared datasets.
*
*
* Protobuf type {@code google.cloud.bigquery.dataexchange.v1beta1.DataExchange}
@@ -217,7 +217,7 @@ public com.google.protobuf.ByteString getNameBytes() {
*
* Required. Human-readable display name of the data exchange. The display name must
* contain only Unicode letters, numbers (0-9), underscores (_), dashes (-),
- * spaces ( ), and can't start or end with spaces.
+ * spaces ( ), ampersands (&) and must not start or end with spaces.
* Default value is an empty string.
* Max length: 63 bytes.
*
@@ -244,7 +244,7 @@ public java.lang.String getDisplayName() {
*
* Required. Human-readable display name of the data exchange. The display name must
* contain only Unicode letters, numbers (0-9), underscores (_), dashes (-),
- * spaces ( ), and can't start or end with spaces.
+ * spaces ( ), ampersands (&) and must not start or end with spaces.
* Default value is an empty string.
* Max length: 63 bytes.
*
@@ -272,10 +272,9 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
*
*
*
- * Optional. Short description of the data exchange that can consist of sentences
- * or paragraphs. The description must not contain Unicode non-characters as
- * well as C0 and C1 control codes except tabs (HT), new lines (LF), carriage
- * returns (CR), and page breaks (FF).
+ * Optional. Description of the data exchange. The description must not contain Unicode
+ * non-characters as well as C0 and C1 control codes except tabs (HT),
+ * new lines (LF), carriage returns (CR), and page breaks (FF).
* Default value is an empty string.
* Max length: 2000 bytes.
*
@@ -300,10 +299,9 @@ public java.lang.String getDescription() {
*
*
*
- * Optional. Short description of the data exchange that can consist of sentences
- * or paragraphs. The description must not contain Unicode non-characters as
- * well as C0 and C1 control codes except tabs (HT), new lines (LF), carriage
- * returns (CR), and page breaks (FF).
+ * Optional. Description of the data exchange. The description must not contain Unicode
+ * non-characters as well as C0 and C1 control codes except tabs (HT),
+ * new lines (LF), carriage returns (CR), and page breaks (FF).
* Default value is an empty string.
* Max length: 2000 bytes.
*
@@ -331,8 +329,7 @@ public com.google.protobuf.ByteString getDescriptionBytes() {
*
*
*
- * Optional. Email, URL or other reference of the primary point of contact of the data
- * exchange
+ * Optional. Email or URL of the primary point of contact of the data exchange.
* Max Length: 1000 bytes.
*
*
@@ -356,8 +353,7 @@ public java.lang.String getPrimaryContact() {
*
*
*
- * Optional. Email, URL or other reference of the primary point of contact of the data
- * exchange
+ * Optional. Email or URL of the primary point of contact of the data exchange.
* Max Length: 1000 bytes.
*
*
@@ -454,7 +450,7 @@ public int getListingCount() {
* Optional. Base64 encoded image representing the data exchange. Max Size: 3.0MiB
* Expected image dimensions are 512x512 pixels, however the API only
* performs validation on size of the encoded data.
- * Note: For byte fields, the contents of the field are base64-encoded (which
+ * Note: For byte fields, the content of the fields are base64-encoded (which
* increases the size of the data by 33-36%) when using JSON on the wire.
*
*
@@ -685,9 +681,9 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
*
*
- * A data exchange is a container that enables data sharing.
- * It contains a set of listings of the data sources along with descriptive
- * information of the data exchange.
+ * A data exchange is a container that lets you share data. Along with the
+ * descriptive information about the data exchange, it contains listings that
+ * reference shared datasets.
*
*
* Protobuf type {@code google.cloud.bigquery.dataexchange.v1beta1.DataExchange}
@@ -1000,7 +996,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
*
* Required. Human-readable display name of the data exchange. The display name must
* contain only Unicode letters, numbers (0-9), underscores (_), dashes (-),
- * spaces ( ), and can't start or end with spaces.
+ * spaces ( ), ampersands (&) and must not start or end with spaces.
* Default value is an empty string.
* Max length: 63 bytes.
*
@@ -1026,7 +1022,7 @@ public java.lang.String getDisplayName() {
*
* Required. Human-readable display name of the data exchange. The display name must
* contain only Unicode letters, numbers (0-9), underscores (_), dashes (-),
- * spaces ( ), and can't start or end with spaces.
+ * spaces ( ), ampersands (&) and must not start or end with spaces.
* Default value is an empty string.
* Max length: 63 bytes.
*
@@ -1052,7 +1048,7 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
*
* Required. Human-readable display name of the data exchange. The display name must
* contain only Unicode letters, numbers (0-9), underscores (_), dashes (-),
- * spaces ( ), and can't start or end with spaces.
+ * spaces ( ), ampersands (&) and must not start or end with spaces.
* Default value is an empty string.
* Max length: 63 bytes.
*
@@ -1077,7 +1073,7 @@ public Builder setDisplayName(java.lang.String value) {
*
* Required. Human-readable display name of the data exchange. The display name must
* contain only Unicode letters, numbers (0-9), underscores (_), dashes (-),
- * spaces ( ), and can't start or end with spaces.
+ * spaces ( ), ampersands (&) and must not start or end with spaces.
* Default value is an empty string.
* Max length: 63 bytes.
*
@@ -1098,7 +1094,7 @@ public Builder clearDisplayName() {
*
* Required. Human-readable display name of the data exchange. The display name must
* contain only Unicode letters, numbers (0-9), underscores (_), dashes (-),
- * spaces ( ), and can't start or end with spaces.
+ * spaces ( ), ampersands (&) and must not start or end with spaces.
* Default value is an empty string.
* Max length: 63 bytes.
*
@@ -1124,10 +1120,9 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) {
*
*
*
- * Optional. Short description of the data exchange that can consist of sentences
- * or paragraphs. The description must not contain Unicode non-characters as
- * well as C0 and C1 control codes except tabs (HT), new lines (LF), carriage
- * returns (CR), and page breaks (FF).
+ * Optional. Description of the data exchange. The description must not contain Unicode
+ * non-characters as well as C0 and C1 control codes except tabs (HT),
+ * new lines (LF), carriage returns (CR), and page breaks (FF).
* Default value is an empty string.
* Max length: 2000 bytes.
*
@@ -1151,10 +1146,9 @@ public java.lang.String getDescription() {
*
*
*
- * Optional. Short description of the data exchange that can consist of sentences
- * or paragraphs. The description must not contain Unicode non-characters as
- * well as C0 and C1 control codes except tabs (HT), new lines (LF), carriage
- * returns (CR), and page breaks (FF).
+ * Optional. Description of the data exchange. The description must not contain Unicode
+ * non-characters as well as C0 and C1 control codes except tabs (HT),
+ * new lines (LF), carriage returns (CR), and page breaks (FF).
* Default value is an empty string.
* Max length: 2000 bytes.
*
@@ -1178,10 +1172,9 @@ public com.google.protobuf.ByteString getDescriptionBytes() {
*
*
*
- * Optional. Short description of the data exchange that can consist of sentences
- * or paragraphs. The description must not contain Unicode non-characters as
- * well as C0 and C1 control codes except tabs (HT), new lines (LF), carriage
- * returns (CR), and page breaks (FF).
+ * Optional. Description of the data exchange. The description must not contain Unicode
+ * non-characters as well as C0 and C1 control codes except tabs (HT),
+ * new lines (LF), carriage returns (CR), and page breaks (FF).
* Default value is an empty string.
* Max length: 2000 bytes.
*
@@ -1204,10 +1197,9 @@ public Builder setDescription(java.lang.String value) {
*
*
*
- * Optional. Short description of the data exchange that can consist of sentences
- * or paragraphs. The description must not contain Unicode non-characters as
- * well as C0 and C1 control codes except tabs (HT), new lines (LF), carriage
- * returns (CR), and page breaks (FF).
+ * Optional. Description of the data exchange. The description must not contain Unicode
+ * non-characters as well as C0 and C1 control codes except tabs (HT),
+ * new lines (LF), carriage returns (CR), and page breaks (FF).
* Default value is an empty string.
* Max length: 2000 bytes.
*
@@ -1226,10 +1218,9 @@ public Builder clearDescription() {
*
*
*
- * Optional. Short description of the data exchange that can consist of sentences
- * or paragraphs. The description must not contain Unicode non-characters as
- * well as C0 and C1 control codes except tabs (HT), new lines (LF), carriage
- * returns (CR), and page breaks (FF).
+ * Optional. Description of the data exchange. The description must not contain Unicode
+ * non-characters as well as C0 and C1 control codes except tabs (HT),
+ * new lines (LF), carriage returns (CR), and page breaks (FF).
* Default value is an empty string.
* Max length: 2000 bytes.
*
@@ -1255,8 +1246,7 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) {
*
*
*
- * Optional. Email, URL or other reference of the primary point of contact of the data
- * exchange
+ * Optional. Email or URL of the primary point of contact of the data exchange.
* Max Length: 1000 bytes.
*
*
@@ -1279,8 +1269,7 @@ public java.lang.String getPrimaryContact() {
*
*
*
- * Optional. Email, URL or other reference of the primary point of contact of the data
- * exchange
+ * Optional. Email or URL of the primary point of contact of the data exchange.
* Max Length: 1000 bytes.
*
*
@@ -1303,8 +1292,7 @@ public com.google.protobuf.ByteString getPrimaryContactBytes() {
*
*
*
- * Optional. Email, URL or other reference of the primary point of contact of the data
- * exchange
+ * Optional. Email or URL of the primary point of contact of the data exchange.
* Max Length: 1000 bytes.
*
*
@@ -1326,8 +1314,7 @@ public Builder setPrimaryContact(java.lang.String value) {
*
*
*
- * Optional. Email, URL or other reference of the primary point of contact of the data
- * exchange
+ * Optional. Email or URL of the primary point of contact of the data exchange.
* Max Length: 1000 bytes.
*
*
@@ -1345,8 +1332,7 @@ public Builder clearPrimaryContact() {
*
*
*
- * Optional. Email, URL or other reference of the primary point of contact of the data
- * exchange
+ * Optional. Email or URL of the primary point of contact of the data exchange.
* Max Length: 1000 bytes.
*
*
@@ -1532,7 +1518,7 @@ public Builder clearListingCount() {
* Optional. Base64 encoded image representing the data exchange. Max Size: 3.0MiB
* Expected image dimensions are 512x512 pixels, however the API only
* performs validation on size of the encoded data.
- * Note: For byte fields, the contents of the field are base64-encoded (which
+ * Note: For byte fields, the content of the fields are base64-encoded (which
* increases the size of the data by 33-36%) when using JSON on the wire.
*
*
@@ -1551,7 +1537,7 @@ public com.google.protobuf.ByteString getIcon() {
* Optional. Base64 encoded image representing the data exchange. Max Size: 3.0MiB
* Expected image dimensions are 512x512 pixels, however the API only
* performs validation on size of the encoded data.
- * Note: For byte fields, the contents of the field are base64-encoded (which
+ * Note: For byte fields, the content of the fields are base64-encoded (which
* increases the size of the data by 33-36%) when using JSON on the wire.
*
*
@@ -1576,7 +1562,7 @@ public Builder setIcon(com.google.protobuf.ByteString value) {
* Optional. Base64 encoded image representing the data exchange. Max Size: 3.0MiB
* Expected image dimensions are 512x512 pixels, however the API only
* performs validation on size of the encoded data.
- * Note: For byte fields, the contents of the field are base64-encoded (which
+ * Note: For byte fields, the content of the fields are base64-encoded (which
* increases the size of the data by 33-36%) when using JSON on the wire.
*
*
diff --git a/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/DataExchangeOrBuilder.java b/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/DataExchangeOrBuilder.java
index abbb90e62b32..fc1735bc0a1b 100644
--- a/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/DataExchangeOrBuilder.java
+++ b/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/DataExchangeOrBuilder.java
@@ -56,7 +56,7 @@ public interface DataExchangeOrBuilder
*
* Required. Human-readable display name of the data exchange. The display name must
* contain only Unicode letters, numbers (0-9), underscores (_), dashes (-),
- * spaces ( ), and can't start or end with spaces.
+ * spaces ( ), ampersands (&) and must not start or end with spaces.
* Default value is an empty string.
* Max length: 63 bytes.
*
@@ -72,7 +72,7 @@ public interface DataExchangeOrBuilder
*
* Required. Human-readable display name of the data exchange. The display name must
* contain only Unicode letters, numbers (0-9), underscores (_), dashes (-),
- * spaces ( ), and can't start or end with spaces.
+ * spaces ( ), ampersands (&) and must not start or end with spaces.
* Default value is an empty string.
* Max length: 63 bytes.
*
@@ -87,10 +87,9 @@ public interface DataExchangeOrBuilder
*
*
*
- * Optional. Short description of the data exchange that can consist of sentences
- * or paragraphs. The description must not contain Unicode non-characters as
- * well as C0 and C1 control codes except tabs (HT), new lines (LF), carriage
- * returns (CR), and page breaks (FF).
+ * Optional. Description of the data exchange. The description must not contain Unicode
+ * non-characters as well as C0 and C1 control codes except tabs (HT),
+ * new lines (LF), carriage returns (CR), and page breaks (FF).
* Default value is an empty string.
* Max length: 2000 bytes.
*
@@ -104,10 +103,9 @@ public interface DataExchangeOrBuilder
*
*
*
- * Optional. Short description of the data exchange that can consist of sentences
- * or paragraphs. The description must not contain Unicode non-characters as
- * well as C0 and C1 control codes except tabs (HT), new lines (LF), carriage
- * returns (CR), and page breaks (FF).
+ * Optional. Description of the data exchange. The description must not contain Unicode
+ * non-characters as well as C0 and C1 control codes except tabs (HT),
+ * new lines (LF), carriage returns (CR), and page breaks (FF).
* Default value is an empty string.
* Max length: 2000 bytes.
*
@@ -122,8 +120,7 @@ public interface DataExchangeOrBuilder
*
*
*
- * Optional. Email, URL or other reference of the primary point of contact of the data
- * exchange
+ * Optional. Email or URL of the primary point of contact of the data exchange.
* Max Length: 1000 bytes.
*
*
@@ -136,8 +133,7 @@ public interface DataExchangeOrBuilder
*
*
*
- * Optional. Email, URL or other reference of the primary point of contact of the data
- * exchange
+ * Optional. Email or URL of the primary point of contact of the data exchange.
* Max Length: 1000 bytes.
*
*
@@ -192,7 +188,7 @@ public interface DataExchangeOrBuilder
* Optional. Base64 encoded image representing the data exchange. Max Size: 3.0MiB
* Expected image dimensions are 512x512 pixels, however the API only
* performs validation on size of the encoded data.
- * Note: For byte fields, the contents of the field are base64-encoded (which
+ * Note: For byte fields, the content of the fields are base64-encoded (which
* increases the size of the data by 33-36%) when using JSON on the wire.
*
*
diff --git a/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/DataExchangeProto.java b/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/DataExchangeProto.java
index 39c0363bc827..187c0d07a531 100644
--- a/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/DataExchangeProto.java
+++ b/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/DataExchangeProto.java
@@ -137,212 +137,225 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "gquery.dataexchange.v1beta1\032\034google/api/"
+ "annotations.proto\032\027google/api/client.pro"
+ "to\032\037google/api/field_behavior.proto\032\031goo"
- + "gle/api/resource.proto\0326google/cloud/big"
- + "query/dataexchange/common/common.proto\032\036"
- + "google/iam/v1/iam_policy.proto\032\032google/i"
- + "am/v1/policy.proto\032\033google/protobuf/empt"
- + "y.proto\032 google/protobuf/field_mask.prot"
- + "o\032\036google/protobuf/wrappers.proto\"\265\002\n\014Da"
- + "taExchange\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\031\n\014display"
- + "_name\030\002 \001(\tB\003\340A\002\022\030\n\013description\030\003 \001(\tB\003\340"
- + "A\001\022\034\n\017primary_contact\030\004 \001(\tB\003\340A\001\022\032\n\rdocu"
- + "mentation\030\005 \001(\tB\003\340A\001\022\032\n\rlisting_count\030\006 "
- + "\001(\005B\003\340A\003\022\021\n\004icon\030\007 \001(\014B\003\340A\001:t\352Aq\n(analyt"
- + "icshub.googleapis.com/DataExchange\022Eproj"
- + "ects/{project}/locations/{location}/data"
- + "Exchanges/{data_exchange}\"?\n\014DataProvide"
- + "r\022\021\n\004name\030\001 \001(\tB\003\340A\001\022\034\n\017primary_contact\030"
- + "\002 \001(\tB\003\340A\001\"<\n\tPublisher\022\021\n\004name\030\001 \001(\tB\003\340"
- + "A\001\022\034\n\017primary_contact\030\002 \001(\tB\003\340A\001\"O\n\033Dest"
- + "inationDatasetReference\022\027\n\ndataset_id\030\001 "
- + "\001(\tB\003\340A\002\022\027\n\nproject_id\030\002 \001(\tB\003\340A\002\"\226\003\n\022De"
- + "stinationDataset\022g\n\021dataset_reference\030\001 "
- + "\001(\0132G.google.cloud.bigquery.dataexchange"
- + ".v1beta1.DestinationDatasetReferenceB\003\340A"
- + "\002\0228\n\rfriendly_name\030\002 \001(\0132\034.google.protob"
- + "uf.StringValueB\003\340A\001\0226\n\013description\030\003 \001(\013"
- + "2\034.google.protobuf.StringValueB\003\340A\001\022_\n\006l"
- + "abels\030\004 \003(\0132J.google.cloud.bigquery.data"
- + "exchange.v1beta1.DestinationDataset.Labe"
- + "lsEntryB\003\340A\001\022\025\n\010location\030\005 \001(\tB\003\340A\002\032-\n\013L"
- + "abelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\002"
- + "8\001\"\364\006\n\007Listing\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\031\n\014dis"
- + "play_name\030\002 \001(\tB\003\340A\002\022\030\n\013description\030\003 \001("
- + "\tB\003\340A\001\022\034\n\017primary_contact\030\004 \001(\tB\003\340A\001\022\032\n\r"
- + "documentation\030\005 \001(\tB\003\340A\001\022j\n\020bigquery_dat"
- + "aset\030\006 \001(\0132I.google.cloud.bigquery.datae"
- + "xchange.v1beta1.Listing.BigQueryDatasetS"
- + "ourceB\003\340A\002H\000\022M\n\005state\030\007 \001(\01629.google.clo"
- + "ud.bigquery.dataexchange.v1beta1.Listing"
- + ".StateB\003\340A\003\022\021\n\004icon\030\010 \001(\014B\003\340A\001\022T\n\rdata_p"
- + "rovider\030\t \001(\01328.google.cloud.bigquery.da"
- + "taexchange.v1beta1.DataProviderB\003\340A\001\022L\n\n"
- + "categories\030\n \003(\01623.google.cloud.bigquery"
- + ".dataexchange.common.CategoryB\003\340A\001\022M\n\tpu"
- + "blisher\030\013 \001(\01325.google.cloud.bigquery.da"
- + "taexchange.v1beta1.PublisherB\003\340A\001\022\033\n\016req"
- + "uest_access\030\014 \001(\tB\003\340A\001\032N\n\025BigQueryDatase"
- + "tSource\0225\n\007dataset\030\001 \001(\tB$\372A!\n\037bigquery."
- + "googleapis.com/Dataset\"*\n\005State\022\025\n\021STATE"
- + "_UNSPECIFIED\020\000\022\n\n\006ACTIVE\020\001:\202\001\352A\177\n#analyt"
- + "icshub.googleapis.com/Listing\022Xprojects/"
- + "{project}/locations/{location}/dataExcha"
- + "nges/{data_exchange}/listings/{listing}B"
- + "\010\n\006source\"|\n\030ListDataExchangesRequest\0229\n"
- + "\006parent\030\001 \001(\tB)\340A\002\372A#\n!locations.googlea"
- + "pis.com/Location\022\021\n\tpage_size\030\002 \001(\005\022\022\n\np"
- + "age_token\030\003 \001(\t\"\206\001\n\031ListDataExchangesRes"
+ + "gle/api/resource.proto\032\036google/iam/v1/ia"
+ + "m_policy.proto\032\032google/iam/v1/policy.pro"
+ + "to\032\033google/protobuf/empty.proto\032 google/"
+ + "protobuf/field_mask.proto\032\036google/protob"
+ + "uf/wrappers.proto\"\265\002\n\014DataExchange\022\021\n\004na"
+ + "me\030\001 \001(\tB\003\340A\003\022\031\n\014display_name\030\002 \001(\tB\003\340A\002"
+ + "\022\030\n\013description\030\003 \001(\tB\003\340A\001\022\034\n\017primary_co"
+ + "ntact\030\004 \001(\tB\003\340A\001\022\032\n\rdocumentation\030\005 \001(\tB"
+ + "\003\340A\001\022\032\n\rlisting_count\030\006 \001(\005B\003\340A\003\022\021\n\004icon"
+ + "\030\007 \001(\014B\003\340A\001:t\352Aq\n(analyticshub.googleapi"
+ + "s.com/DataExchange\022Eprojects/{project}/l"
+ + "ocations/{location}/dataExchanges/{data_"
+ + "exchange}\"?\n\014DataProvider\022\021\n\004name\030\001 \001(\tB"
+ + "\003\340A\001\022\034\n\017primary_contact\030\002 \001(\tB\003\340A\001\"<\n\tPu"
+ + "blisher\022\021\n\004name\030\001 \001(\tB\003\340A\001\022\034\n\017primary_co"
+ + "ntact\030\002 \001(\tB\003\340A\001\"O\n\033DestinationDatasetRe"
+ + "ference\022\027\n\ndataset_id\030\001 \001(\tB\003\340A\002\022\027\n\nproj"
+ + "ect_id\030\002 \001(\tB\003\340A\002\"\226\003\n\022DestinationDataset"
+ + "\022g\n\021dataset_reference\030\001 \001(\0132G.google.clo"
+ + "ud.bigquery.dataexchange.v1beta1.Destina"
+ + "tionDatasetReferenceB\003\340A\002\0228\n\rfriendly_na"
+ + "me\030\002 \001(\0132\034.google.protobuf.StringValueB\003"
+ + "\340A\001\0226\n\013description\030\003 \001(\0132\034.google.protob"
+ + "uf.StringValueB\003\340A\001\022_\n\006labels\030\004 \003(\0132J.go"
+ + "ogle.cloud.bigquery.dataexchange.v1beta1"
+ + ".DestinationDataset.LabelsEntryB\003\340A\001\022\025\n\010"
+ + "location\030\005 \001(\tB\003\340A\002\032-\n\013LabelsEntry\022\013\n\003ke"
+ + "y\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\267\013\n\007Listing\022j"
+ + "\n\020bigquery_dataset\030\006 \001(\0132I.google.cloud."
+ + "bigquery.dataexchange.v1beta1.Listing.Bi"
+ + "gQueryDatasetSourceB\003\340A\002H\000\022\021\n\004name\030\001 \001(\t"
+ + "B\003\340A\003\022\031\n\014display_name\030\002 \001(\tB\003\340A\002\022\030\n\013desc"
+ + "ription\030\003 \001(\tB\003\340A\001\022\034\n\017primary_contact\030\004 "
+ + "\001(\tB\003\340A\001\022\032\n\rdocumentation\030\005 \001(\tB\003\340A\001\022M\n\005"
+ + "state\030\007 \001(\01629.google.cloud.bigquery.data"
+ + "exchange.v1beta1.Listing.StateB\003\340A\003\022\021\n\004i"
+ + "con\030\010 \001(\014B\003\340A\001\022T\n\rdata_provider\030\t \001(\01328."
+ + "google.cloud.bigquery.dataexchange.v1bet"
+ + "a1.DataProviderB\003\340A\001\022U\n\ncategories\030\n \003(\016"
+ + "2<.google.cloud.bigquery.dataexchange.v1"
+ + "beta1.Listing.CategoryB\003\340A\001\022M\n\tpublisher"
+ + "\030\013 \001(\01325.google.cloud.bigquery.dataexcha"
+ + "nge.v1beta1.PublisherB\003\340A\001\022\033\n\016request_ac"
+ + "cess\030\014 \001(\tB\003\340A\001\032N\n\025BigQueryDatasetSource"
+ + "\0225\n\007dataset\030\001 \001(\tB$\372A!\n\037bigquery.googlea"
+ + "pis.com/Dataset\"*\n\005State\022\025\n\021STATE_UNSPEC"
+ + "IFIED\020\000\022\n\n\006ACTIVE\020\001\"\267\004\n\010Category\022\030\n\024CATE"
+ + "GORY_UNSPECIFIED\020\000\022\023\n\017CATEGORY_OTHERS\020\001\022"
+ + "&\n\"CATEGORY_ADVERTISING_AND_MARKETING\020\002\022"
+ + "\025\n\021CATEGORY_COMMERCE\020\003\022$\n CATEGORY_CLIMA"
+ + "TE_AND_ENVIRONMENT\020\004\022\031\n\025CATEGORY_DEMOGRA"
+ + "PHICS\020\005\022\026\n\022CATEGORY_ECONOMICS\020\006\022\026\n\022CATEG"
+ + "ORY_EDUCATION\020\007\022\023\n\017CATEGORY_ENERGY\020\010\022\026\n\022"
+ + "CATEGORY_FINANCIAL\020\t\022\023\n\017CATEGORY_GAMING\020"
+ + "\n\022\027\n\023CATEGORY_GEOSPATIAL\020\013\022(\n$CATEGORY_H"
+ + "EALTHCARE_AND_LIFE_SCIENCE\020\014\022\022\n\016CATEGORY"
+ + "_MEDIA\020\r\022\032\n\026CATEGORY_PUBLIC_SECTOR\020\016\022\023\n\017"
+ + "CATEGORY_RETAIL\020\017\022\023\n\017CATEGORY_SPORTS\020\020\022!"
+ + "\n\035CATEGORY_SCIENCE_AND_RESEARCH\020\021\022)\n%CAT"
+ + "EGORY_TRANSPORTATION_AND_LOGISTICS\020\022\022\037\n\033"
+ + "CATEGORY_TRAVEL_AND_TOURISM\020\023:\202\001\352A\177\n#ana"
+ + "lyticshub.googleapis.com/Listing\022Xprojec"
+ + "ts/{project}/locations/{location}/dataEx"
+ + "changes/{data_exchange}/listings/{listin"
+ + "g}B\010\n\006source\"|\n\030ListDataExchangesRequest"
+ + "\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!locations.goog"
+ + "leapis.com/Location\022\021\n\tpage_size\030\002 \001(\005\022\022"
+ + "\n\npage_token\030\003 \001(\t\"\206\001\n\031ListDataExchanges"
+ + "Response\022P\n\016data_exchanges\030\001 \003(\01328.googl"
+ + "e.cloud.bigquery.dataexchange.v1beta1.Da"
+ + "taExchange\022\027\n\017next_page_token\030\002 \001(\t\"_\n\033L"
+ + "istOrgDataExchangesRequest\022\031\n\014organizati"
+ + "on\030\001 \001(\tB\003\340A\002\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage"
+ + "_token\030\003 \001(\t\"\211\001\n\034ListOrgDataExchangesRes"
+ "ponse\022P\n\016data_exchanges\030\001 \003(\01328.google.c"
+ "loud.bigquery.dataexchange.v1beta1.DataE"
- + "xchange\022\027\n\017next_page_token\030\002 \001(\t\"_\n\033List"
- + "OrgDataExchangesRequest\022\031\n\014organization\030"
- + "\001 \001(\tB\003\340A\002\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_to"
- + "ken\030\003 \001(\t\"\211\001\n\034ListOrgDataExchangesRespon"
- + "se\022P\n\016data_exchanges\030\001 \003(\01328.google.clou"
- + "d.bigquery.dataexchange.v1beta1.DataExch"
- + "ange\022\027\n\017next_page_token\030\002 \001(\t\"X\n\026GetData"
- + "ExchangeRequest\022>\n\004name\030\001 \001(\tB0\340A\002\372A*\n(a"
- + "nalyticshub.googleapis.com/DataExchange\""
- + "\313\001\n\031CreateDataExchangeRequest\0229\n\006parent\030"
- + "\001 \001(\tB)\340A\002\372A#\n!locations.googleapis.com/"
- + "Location\022\035\n\020data_exchange_id\030\002 \001(\tB\003\340A\002\022"
- + "T\n\rdata_exchange\030\003 \001(\01328.google.cloud.bi"
+ + "xchange\022\027\n\017next_page_token\030\002 \001(\t\"X\n\026GetD"
+ + "ataExchangeRequest\022>\n\004name\030\001 \001(\tB0\340A\002\372A*"
+ + "\n(analyticshub.googleapis.com/DataExchan"
+ + "ge\"\313\001\n\031CreateDataExchangeRequest\0229\n\006pare"
+ + "nt\030\001 \001(\tB)\340A\002\372A#\n!locations.googleapis.c"
+ + "om/Location\022\035\n\020data_exchange_id\030\002 \001(\tB\003\340"
+ + "A\002\022T\n\rdata_exchange\030\003 \001(\01328.google.cloud"
+ + ".bigquery.dataexchange.v1beta1.DataExcha"
+ + "ngeB\003\340A\002\"\247\001\n\031UpdateDataExchangeRequest\0224"
+ + "\n\013update_mask\030\001 \001(\0132\032.google.protobuf.Fi"
+ + "eldMaskB\003\340A\002\022T\n\rdata_exchange\030\002 \001(\01328.go"
+ + "ogle.cloud.bigquery.dataexchange.v1beta1"
+ + ".DataExchangeB\003\340A\002\"[\n\031DeleteDataExchange"
+ + "Request\022>\n\004name\030\001 \001(\tB0\340A\002\372A*\n(analytics"
+ + "hub.googleapis.com/DataExchange\"~\n\023ListL"
+ + "istingsRequest\022@\n\006parent\030\001 \001(\tB0\340A\002\372A*\n("
+ + "analyticshub.googleapis.com/DataExchange"
+ + "\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\""
+ + "v\n\024ListListingsResponse\022E\n\010listings\030\001 \003("
+ + "\01323.google.cloud.bigquery.dataexchange.v"
+ + "1beta1.Listing\022\027\n\017next_page_token\030\002 \001(\t\""
+ + "N\n\021GetListingRequest\0229\n\004name\030\001 \001(\tB+\340A\002\372"
+ + "A%\n#analyticshub.googleapis.com/Listing\""
+ + "\274\001\n\024CreateListingRequest\022@\n\006parent\030\001 \001(\t"
+ + "B0\340A\002\372A*\n(analyticshub.googleapis.com/Da"
+ + "taExchange\022\027\n\nlisting_id\030\002 \001(\tB\003\340A\002\022I\n\007l"
+ + "isting\030\003 \001(\01323.google.cloud.bigquery.dat"
+ + "aexchange.v1beta1.ListingB\003\340A\002\"\227\001\n\024Updat"
+ + "eListingRequest\0224\n\013update_mask\030\001 \001(\0132\032.g"
+ + "oogle.protobuf.FieldMaskB\003\340A\002\022I\n\007listing"
+ + "\030\002 \001(\01323.google.cloud.bigquery.dataexcha"
+ + "nge.v1beta1.ListingB\003\340A\002\"Q\n\024DeleteListin"
+ + "gRequest\0229\n\004name\030\001 \001(\tB+\340A\002\372A%\n#analytic"
+ + "shub.googleapis.com/Listing\"\302\001\n\027Subscrib"
+ + "eListingRequest\022]\n\023destination_dataset\030\003"
+ + " \001(\0132>.google.cloud.bigquery.dataexchang"
+ + "e.v1beta1.DestinationDatasetH\000\0229\n\004name\030\001"
+ + " \001(\tB+\340A\002\372A%\n#analyticshub.googleapis.co"
+ + "m/ListingB\r\n\013destination\"\032\n\030SubscribeLis"
+ + "tingResponse2\246\035\n\023AnalyticsHubService\022\351\001\n"
+ + "\021ListDataExchanges\022D.google.cloud.bigque"
+ + "ry.dataexchange.v1beta1.ListDataExchange"
+ + "sRequest\032E.google.cloud.bigquery.dataexc"
+ + "hange.v1beta1.ListDataExchangesResponse\""
+ + "G\202\323\344\223\0028\0226/v1beta1/{parent=projects/*/loc"
+ + "ations/*}/dataExchanges\332A\006parent\022\203\002\n\024Lis"
+ + "tOrgDataExchanges\022G.google.cloud.bigquer"
+ + "y.dataexchange.v1beta1.ListOrgDataExchan"
+ + "gesRequest\032H.google.cloud.bigquery.datae"
+ + "xchange.v1beta1.ListOrgDataExchangesResp"
+ + "onse\"X\202\323\344\223\002C\022A/v1beta1/{organization=org"
+ + "anizations/*/locations/*}/dataExchanges\332"
+ + "A\014organization\022\326\001\n\017GetDataExchange\022B.goo"
+ + "gle.cloud.bigquery.dataexchange.v1beta1."
+ + "GetDataExchangeRequest\0328.google.cloud.bi"
+ "gquery.dataexchange.v1beta1.DataExchange"
- + "B\003\340A\002\"\247\001\n\031UpdateDataExchangeRequest\0224\n\013u"
- + "pdate_mask\030\001 \001(\0132\032.google.protobuf.Field"
- + "MaskB\003\340A\002\022T\n\rdata_exchange\030\002 \001(\01328.googl"
- + "e.cloud.bigquery.dataexchange.v1beta1.Da"
- + "taExchangeB\003\340A\002\"[\n\031DeleteDataExchangeReq"
- + "uest\022>\n\004name\030\001 \001(\tB0\340A\002\372A*\n(analyticshub"
- + ".googleapis.com/DataExchange\"~\n\023ListList"
- + "ingsRequest\022@\n\006parent\030\001 \001(\tB0\340A\002\372A*\n(ana"
- + "lyticshub.googleapis.com/DataExchange\022\021\n"
- + "\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"v\n\024"
- + "ListListingsResponse\022E\n\010listings\030\001 \003(\01323"
- + ".google.cloud.bigquery.dataexchange.v1be"
- + "ta1.Listing\022\027\n\017next_page_token\030\002 \001(\t\"N\n\021"
- + "GetListingRequest\0229\n\004name\030\001 \001(\tB+\340A\002\372A%\n"
- + "#analyticshub.googleapis.com/Listing\"\274\001\n"
- + "\024CreateListingRequest\022@\n\006parent\030\001 \001(\tB0\340"
- + "A\002\372A*\n(analyticshub.googleapis.com/DataE"
- + "xchange\022\027\n\nlisting_id\030\002 \001(\tB\003\340A\002\022I\n\007list"
- + "ing\030\003 \001(\01323.google.cloud.bigquery.dataex"
- + "change.v1beta1.ListingB\003\340A\002\"\227\001\n\024UpdateLi"
- + "stingRequest\0224\n\013update_mask\030\001 \001(\0132\032.goog"
- + "le.protobuf.FieldMaskB\003\340A\002\022I\n\007listing\030\002 "
- + "\001(\01323.google.cloud.bigquery.dataexchange"
- + ".v1beta1.ListingB\003\340A\002\"Q\n\024DeleteListingRe"
- + "quest\0229\n\004name\030\001 \001(\tB+\340A\002\372A%\n#analyticshu"
- + "b.googleapis.com/Listing\"\302\001\n\027SubscribeLi"
- + "stingRequest\0229\n\004name\030\001 \001(\tB+\340A\002\372A%\n#anal"
- + "yticshub.googleapis.com/Listing\022]\n\023desti"
- + "nation_dataset\030\003 \001(\0132>.google.cloud.bigq"
- + "uery.dataexchange.v1beta1.DestinationDat"
- + "asetH\000B\r\n\013destination\"\032\n\030SubscribeListin"
- + "gResponse2\246\035\n\023AnalyticsHubService\022\351\001\n\021Li"
- + "stDataExchanges\022D.google.cloud.bigquery."
- + "dataexchange.v1beta1.ListDataExchangesRe"
- + "quest\032E.google.cloud.bigquery.dataexchan"
- + "ge.v1beta1.ListDataExchangesResponse\"G\202\323"
- + "\344\223\0028\0226/v1beta1/{parent=projects/*/locati"
- + "ons/*}/dataExchanges\332A\006parent\022\203\002\n\024ListOr"
- + "gDataExchanges\022G.google.cloud.bigquery.d"
- + "ataexchange.v1beta1.ListOrgDataExchanges"
- + "Request\032H.google.cloud.bigquery.dataexch"
- + "ange.v1beta1.ListOrgDataExchangesRespons"
- + "e\"X\202\323\344\223\002C\022A/v1beta1/{organization=organi"
- + "zations/*/locations/*}/dataExchanges\332A\014o"
- + "rganization\022\326\001\n\017GetDataExchange\022B.google"
- + ".cloud.bigquery.dataexchange.v1beta1.Get"
+ + "\"E\202\323\344\223\0028\0226/v1beta1/{name=projects/*/loca"
+ + "tions/*/dataExchanges/*}\332A\004name\022\373\001\n\022Crea"
+ + "teDataExchange\022E.google.cloud.bigquery.d"
+ + "ataexchange.v1beta1.CreateDataExchangeRe"
+ + "quest\0328.google.cloud.bigquery.dataexchan"
+ + "ge.v1beta1.DataExchange\"d\202\323\344\223\002G\"6/v1beta"
+ + "1/{parent=projects/*/locations/*}/dataEx"
+ + "changes:\rdata_exchange\332A\024parent,data_exc"
+ + "hange\022\216\002\n\022UpdateDataExchange\022E.google.cl"
+ + "oud.bigquery.dataexchange.v1beta1.Update"
+ "DataExchangeRequest\0328.google.cloud.bigqu"
- + "ery.dataexchange.v1beta1.DataExchange\"E\202"
- + "\323\344\223\0028\0226/v1beta1/{name=projects/*/locatio"
- + "ns/*/dataExchanges/*}\332A\004name\022\373\001\n\022CreateD"
- + "ataExchange\022E.google.cloud.bigquery.data"
- + "exchange.v1beta1.CreateDataExchangeReque"
- + "st\0328.google.cloud.bigquery.dataexchange."
- + "v1beta1.DataExchange\"d\202\323\344\223\002G\"6/v1beta1/{"
- + "parent=projects/*/locations/*}/dataExcha"
- + "nges:\rdata_exchange\332A\024parent,data_exchan"
- + "ge\022\216\002\n\022UpdateDataExchange\022E.google.cloud"
- + ".bigquery.dataexchange.v1beta1.UpdateDat"
- + "aExchangeRequest\0328.google.cloud.bigquery"
- + ".dataexchange.v1beta1.DataExchange\"w\202\323\344\223"
- + "\002U2D/v1beta1/{data_exchange.name=project"
- + "s/*/locations/*/dataExchanges/*}:\rdata_e"
- + "xchange\332A\031data_exchange,update_mask\022\272\001\n\022"
- + "DeleteDataExchange\022E.google.cloud.bigque"
- + "ry.dataexchange.v1beta1.DeleteDataExchan"
- + "geRequest\032\026.google.protobuf.Empty\"E\202\323\344\223\002"
- + "8*6/v1beta1/{name=projects/*/locations/*"
- + "/dataExchanges/*}\332A\004name\022\345\001\n\014ListListing"
- + "s\022?.google.cloud.bigquery.dataexchange.v"
- + "1beta1.ListListingsRequest\032@.google.clou"
- + "d.bigquery.dataexchange.v1beta1.ListList"
- + "ingsResponse\"R\202\323\344\223\002C\022A/v1beta1/{parent=p"
- + "rojects/*/locations/*/dataExchanges/*}/l"
- + "istings\332A\006parent\022\322\001\n\nGetListing\022=.google"
- + ".cloud.bigquery.dataexchange.v1beta1.Get"
- + "ListingRequest\0323.google.cloud.bigquery.d"
- + "ataexchange.v1beta1.Listing\"P\202\323\344\223\002C\022A/v1"
- + "beta1/{name=projects/*/locations/*/dataE"
- + "xchanges/*/listings/*}\332A\004name\022\353\001\n\rCreate"
- + "Listing\022@.google.cloud.bigquery.dataexch"
- + "ange.v1beta1.CreateListingRequest\0323.goog"
- + "le.cloud.bigquery.dataexchange.v1beta1.L"
- + "isting\"c\202\323\344\223\002L\"A/v1beta1/{parent=project"
- + "s/*/locations/*/dataExchanges/*}/listing"
- + "s:\007listing\332A\016parent,listing\022\370\001\n\rUpdateLi"
- + "sting\022@.google.cloud.bigquery.dataexchan"
- + "ge.v1beta1.UpdateListingRequest\0323.google"
- + ".cloud.bigquery.dataexchange.v1beta1.Lis"
- + "ting\"p\202\323\344\223\002T2I/v1beta1/{listing.name=pro"
- + "jects/*/locations/*/dataExchanges/*/list"
- + "ings/*}:\007listing\332A\023listing,update_mask\022\273"
- + "\001\n\rDeleteListing\022@.google.cloud.bigquery"
- + ".dataexchange.v1beta1.DeleteListingReque"
- + "st\032\026.google.protobuf.Empty\"P\202\323\344\223\002C*A/v1b"
- + "eta1/{name=projects/*/locations/*/dataEx"
- + "changes/*/listings/*}\332A\004name\022\374\001\n\020Subscri"
- + "beListing\022C.google.cloud.bigquery.dataex"
- + "change.v1beta1.SubscribeListingRequest\032D"
- + ".google.cloud.bigquery.dataexchange.v1be"
- + "ta1.SubscribeListingResponse\"]\202\323\344\223\002P\"K/v"
- + "1beta1/{name=projects/*/locations/*/data"
- + "Exchanges/*/listings/*}:subscribe:\001*\332A\004n"
- + "ame\022\370\001\n\014GetIamPolicy\022\".google.iam.v1.Get"
- + "IamPolicyRequest\032\025.google.iam.v1.Policy\""
- + "\254\001\202\323\344\223\002\245\001\"G/v1beta1/{resource=projects/*"
- + "/locations/*/dataExchanges/*}:getIamPoli"
- + "cy:\001*ZW\"R/v1beta1/{resource=projects/*/l"
- + "ocations/*/dataExchanges/*/listings/*}:g"
- + "etIamPolicy:\001*\022\370\001\n\014SetIamPolicy\022\".google"
- + ".iam.v1.SetIamPolicyRequest\032\025.google.iam"
- + ".v1.Policy\"\254\001\202\323\344\223\002\245\001\"G/v1beta1/{resource"
- + "=projects/*/locations/*/dataExchanges/*}"
- + ":setIamPolicy:\001*ZW\"R/v1beta1/{resource=p"
- + "rojects/*/locations/*/dataExchanges/*/li"
- + "stings/*}:setIamPolicy:\001*\022\244\002\n\022TestIamPer"
- + "missions\022(.google.iam.v1.TestIamPermissi"
- + "onsRequest\032).google.iam.v1.TestIamPermis"
- + "sionsResponse\"\270\001\202\323\344\223\002\261\001\"M/v1beta1/{resou"
+ + "ery.dataexchange.v1beta1.DataExchange\"w\202"
+ + "\323\344\223\002U2D/v1beta1/{data_exchange.name=proj"
+ + "ects/*/locations/*/dataExchanges/*}:\rdat"
+ + "a_exchange\332A\031data_exchange,update_mask\022\272"
+ + "\001\n\022DeleteDataExchange\022E.google.cloud.big"
+ + "query.dataexchange.v1beta1.DeleteDataExc"
+ + "hangeRequest\032\026.google.protobuf.Empty\"E\202\323"
+ + "\344\223\0028*6/v1beta1/{name=projects/*/location"
+ + "s/*/dataExchanges/*}\332A\004name\022\345\001\n\014ListList"
+ + "ings\022?.google.cloud.bigquery.dataexchang"
+ + "e.v1beta1.ListListingsRequest\032@.google.c"
+ + "loud.bigquery.dataexchange.v1beta1.ListL"
+ + "istingsResponse\"R\202\323\344\223\002C\022A/v1beta1/{paren"
+ + "t=projects/*/locations/*/dataExchanges/*"
+ + "}/listings\332A\006parent\022\322\001\n\nGetListing\022=.goo"
+ + "gle.cloud.bigquery.dataexchange.v1beta1."
+ + "GetListingRequest\0323.google.cloud.bigquer"
+ + "y.dataexchange.v1beta1.Listing\"P\202\323\344\223\002C\022A"
+ + "/v1beta1/{name=projects/*/locations/*/da"
+ + "taExchanges/*/listings/*}\332A\004name\022\353\001\n\rCre"
+ + "ateListing\022@.google.cloud.bigquery.datae"
+ + "xchange.v1beta1.CreateListingRequest\0323.g"
+ + "oogle.cloud.bigquery.dataexchange.v1beta"
+ + "1.Listing\"c\202\323\344\223\002L\"A/v1beta1/{parent=proj"
+ + "ects/*/locations/*/dataExchanges/*}/list"
+ + "ings:\007listing\332A\016parent,listing\022\370\001\n\rUpdat"
+ + "eListing\022@.google.cloud.bigquery.dataexc"
+ + "hange.v1beta1.UpdateListingRequest\0323.goo"
+ + "gle.cloud.bigquery.dataexchange.v1beta1."
+ + "Listing\"p\202\323\344\223\002T2I/v1beta1/{listing.name="
+ + "projects/*/locations/*/dataExchanges/*/l"
+ + "istings/*}:\007listing\332A\023listing,update_mas"
+ + "k\022\273\001\n\rDeleteListing\022@.google.cloud.bigqu"
+ + "ery.dataexchange.v1beta1.DeleteListingRe"
+ + "quest\032\026.google.protobuf.Empty\"P\202\323\344\223\002C*A/"
+ + "v1beta1/{name=projects/*/locations/*/dat"
+ + "aExchanges/*/listings/*}\332A\004name\022\374\001\n\020Subs"
+ + "cribeListing\022C.google.cloud.bigquery.dat"
+ + "aexchange.v1beta1.SubscribeListingReques"
+ + "t\032D.google.cloud.bigquery.dataexchange.v"
+ + "1beta1.SubscribeListingResponse\"]\202\323\344\223\002P\""
+ + "K/v1beta1/{name=projects/*/locations/*/d"
+ + "ataExchanges/*/listings/*}:subscribe:\001*\332"
+ + "A\004name\022\370\001\n\014GetIamPolicy\022\".google.iam.v1."
+ + "GetIamPolicyRequest\032\025.google.iam.v1.Poli"
+ + "cy\"\254\001\202\323\344\223\002\245\001\"G/v1beta1/{resource=project"
+ + "s/*/locations/*/dataExchanges/*}:getIamP"
+ + "olicy:\001*ZW\"R/v1beta1/{resource=projects/"
+ + "*/locations/*/dataExchanges/*/listings/*"
+ + "}:getIamPolicy:\001*\022\370\001\n\014SetIamPolicy\022\".goo"
+ + "gle.iam.v1.SetIamPolicyRequest\032\025.google."
+ + "iam.v1.Policy\"\254\001\202\323\344\223\002\245\001\"G/v1beta1/{resou"
+ "rce=projects/*/locations/*/dataExchanges"
- + "/*}:testIamPermissions:\001*Z]\"X/v1beta1/{r"
- + "esource=projects/*/locations/*/dataExcha"
- + "nges/*/listings/*}:testIamPermissions:\001*"
- + "\032x\312A\033analyticshub.googleapis.com\322AWhttps"
- + "://www.googleapis.com/auth/bigquery,http"
- + "s://www.googleapis.com/auth/cloud-platfo"
- + "rmB\363\002\n.com.google.cloud.bigquery.dataexc"
- + "hange.v1beta1B\021DataExchangeProtoP\001ZVgoog"
- + "le.golang.org/genproto/googleapis/cloud/"
- + "bigquery/dataexchange/v1beta1;dataexchan"
- + "ge\252\002*Google.Cloud.BigQuery.DataExchange."
- + "V1Beta1\312\002*Google\\Cloud\\BigQuery\\DataExch"
- + "ange\\V1beta1\352\002.Google::Cloud::Bigquery::"
- + "DataExchange::V1beta1\352AH\n\037bigquery.googl"
- + "eapis.com/Dataset\022%projects/{project}/da"
- + "tasets/{dataset}b\006proto3"
+ + "/*}:setIamPolicy:\001*ZW\"R/v1beta1/{resourc"
+ + "e=projects/*/locations/*/dataExchanges/*"
+ + "/listings/*}:setIamPolicy:\001*\022\244\002\n\022TestIam"
+ + "Permissions\022(.google.iam.v1.TestIamPermi"
+ + "ssionsRequest\032).google.iam.v1.TestIamPer"
+ + "missionsResponse\"\270\001\202\323\344\223\002\261\001\"M/v1beta1/{re"
+ + "source=projects/*/locations/*/dataExchan"
+ + "ges/*}:testIamPermissions:\001*Z]\"X/v1beta1"
+ + "/{resource=projects/*/locations/*/dataEx"
+ + "changes/*/listings/*}:testIamPermissions"
+ + ":\001*\032x\312A\033analyticshub.googleapis.com\322AWht"
+ + "tps://www.googleapis.com/auth/bigquery,h"
+ + "ttps://www.googleapis.com/auth/cloud-pla"
+ + "tformB\363\002\n.com.google.cloud.bigquery.data"
+ + "exchange.v1beta1B\021DataExchangeProtoP\001ZVg"
+ + "oogle.golang.org/genproto/googleapis/clo"
+ + "ud/bigquery/dataexchange/v1beta1;dataexc"
+ + "hange\252\002*Google.Cloud.BigQuery.DataExchan"
+ + "ge.V1Beta1\312\002*Google\\Cloud\\BigQuery\\DataE"
+ + "xchange\\V1beta1\352\002.Google::Cloud::Bigquer"
+ + "y::DataExchange::V1beta1\352AH\n\037bigquery.go"
+ + "ogleapis.com/Dataset\022%projects/{project}"
+ + "/datasets/{dataset}b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@@ -352,7 +365,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
com.google.api.ClientProto.getDescriptor(),
com.google.api.FieldBehaviorProto.getDescriptor(),
com.google.api.ResourceProto.getDescriptor(),
- com.google.cloud.bigquery.dataexchange.common.CommonProto.getDescriptor(),
com.google.iam.v1.IamPolicyProto.getDescriptor(),
com.google.iam.v1.PolicyProto.getDescriptor(),
com.google.protobuf.EmptyProto.getDescriptor(),
@@ -421,12 +433,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_bigquery_dataexchange_v1beta1_Listing_descriptor,
new java.lang.String[] {
+ "BigqueryDataset",
"Name",
"DisplayName",
"Description",
"PrimaryContact",
"Documentation",
- "BigqueryDataset",
"State",
"Icon",
"DataProvider",
@@ -563,7 +575,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_bigquery_dataexchange_v1beta1_SubscribeListingRequest_descriptor,
new java.lang.String[] {
- "Name", "DestinationDataset", "Destination",
+ "DestinationDataset", "Name", "Destination",
});
internal_static_google_cloud_bigquery_dataexchange_v1beta1_SubscribeListingResponse_descriptor =
getDescriptor().getMessageTypes().get(21);
@@ -587,7 +599,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
com.google.api.ClientProto.getDescriptor();
com.google.api.FieldBehaviorProto.getDescriptor();
com.google.api.ResourceProto.getDescriptor();
- com.google.cloud.bigquery.dataexchange.common.CommonProto.getDescriptor();
com.google.iam.v1.IamPolicyProto.getDescriptor();
com.google.iam.v1.PolicyProto.getDescriptor();
com.google.protobuf.EmptyProto.getDescriptor();
diff --git a/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/DataProvider.java b/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/DataProvider.java
index feaf870a3b5d..2892529497ad 100644
--- a/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/DataProvider.java
+++ b/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/DataProvider.java
@@ -22,7 +22,7 @@
*
*
*
- * Contains details of the Data Provider.
+ * Contains details of the data provider.
*
*
* Protobuf type {@code google.cloud.bigquery.dataexchange.v1beta1.DataProvider}
@@ -127,7 +127,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
*
- * Optional. Name of the Data Provider.
+ * Optional. Name of the data provider.
*
*
* string name = 1 [(.google.api.field_behavior) = OPTIONAL];
@@ -150,7 +150,7 @@ public java.lang.String getName() {
*
*
*
- * Optional. Name of the Data Provider.
+ * Optional. Name of the data provider.
*
*
* string name = 1 [(.google.api.field_behavior) = OPTIONAL];
@@ -176,7 +176,7 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
*
- * Optional. Email or URL of the Data Provider.
+ * Optional. Email or URL of the data provider.
* Max Length: 1000 bytes.
*
*
@@ -200,7 +200,7 @@ public java.lang.String getPrimaryContact() {
*
*
*
- * Optional. Email or URL of the Data Provider.
+ * Optional. Email or URL of the data provider.
* Max Length: 1000 bytes.
*
*
@@ -394,7 +394,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
*
*
- * Contains details of the Data Provider.
+ * Contains details of the data provider.
*
*
* Protobuf type {@code google.cloud.bigquery.dataexchange.v1beta1.DataProvider}
@@ -561,7 +561,7 @@ public Builder mergeFrom(
*
*
*
- * Optional. Name of the Data Provider.
+ * Optional. Name of the data provider.
*
*
* string name = 1 [(.google.api.field_behavior) = OPTIONAL];
@@ -583,7 +583,7 @@ public java.lang.String getName() {
*
*
*
- * Optional. Name of the Data Provider.
+ * Optional. Name of the data provider.
*
*
* string name = 1 [(.google.api.field_behavior) = OPTIONAL];
@@ -605,7 +605,7 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
*
- * Optional. Name of the Data Provider.
+ * Optional. Name of the data provider.
*
*
* string name = 1 [(.google.api.field_behavior) = OPTIONAL];
@@ -626,7 +626,7 @@ public Builder setName(java.lang.String value) {
*
*
*
- * Optional. Name of the Data Provider.
+ * Optional. Name of the data provider.
*
*
* string name = 1 [(.google.api.field_behavior) = OPTIONAL];
@@ -643,7 +643,7 @@ public Builder clearName() {
*
*
*
- * Optional. Name of the Data Provider.
+ * Optional. Name of the data provider.
*
*
* string name = 1 [(.google.api.field_behavior) = OPTIONAL];
@@ -667,7 +667,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
*
*
*
- * Optional. Email or URL of the Data Provider.
+ * Optional. Email or URL of the data provider.
* Max Length: 1000 bytes.
*
*
@@ -690,7 +690,7 @@ public java.lang.String getPrimaryContact() {
*
*
*
- * Optional. Email or URL of the Data Provider.
+ * Optional. Email or URL of the data provider.
* Max Length: 1000 bytes.
*
*
@@ -713,7 +713,7 @@ public com.google.protobuf.ByteString getPrimaryContactBytes() {
*
*
*
- * Optional. Email or URL of the Data Provider.
+ * Optional. Email or URL of the data provider.
* Max Length: 1000 bytes.
*
*
@@ -735,7 +735,7 @@ public Builder setPrimaryContact(java.lang.String value) {
*
*
*
- * Optional. Email or URL of the Data Provider.
+ * Optional. Email or URL of the data provider.
* Max Length: 1000 bytes.
*
*
@@ -753,7 +753,7 @@ public Builder clearPrimaryContact() {
*
*
*
- * Optional. Email or URL of the Data Provider.
+ * Optional. Email or URL of the data provider.
* Max Length: 1000 bytes.
*
*
diff --git a/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/DataProviderOrBuilder.java b/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/DataProviderOrBuilder.java
index 9bf485b80943..d6c1e9dc7123 100644
--- a/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/DataProviderOrBuilder.java
+++ b/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/DataProviderOrBuilder.java
@@ -27,7 +27,7 @@ public interface DataProviderOrBuilder
*
*
*
- * Optional. Name of the Data Provider.
+ * Optional. Name of the data provider.
*
*
* string name = 1 [(.google.api.field_behavior) = OPTIONAL];
@@ -39,7 +39,7 @@ public interface DataProviderOrBuilder
*
*
*
- * Optional. Name of the Data Provider.
+ * Optional. Name of the data provider.
*
*
* string name = 1 [(.google.api.field_behavior) = OPTIONAL];
@@ -52,7 +52,7 @@ public interface DataProviderOrBuilder
*
*
*
- * Optional. Email or URL of the Data Provider.
+ * Optional. Email or URL of the data provider.
* Max Length: 1000 bytes.
*
*
@@ -65,7 +65,7 @@ public interface DataProviderOrBuilder
*
*
*
- * Optional. Email or URL of the Data Provider.
+ * Optional. Email or URL of the data provider.
* Max Length: 1000 bytes.
*
*
diff --git a/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/DeleteDataExchangeRequest.java b/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/DeleteDataExchangeRequest.java
index a10a411d21ef..8e38bb5c4a62 100644
--- a/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/DeleteDataExchangeRequest.java
+++ b/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/DeleteDataExchangeRequest.java
@@ -22,7 +22,7 @@
*
*
*
- * Message for deleting a DataExchange.
+ * Message for deleting a data exchange.
*
*
* Protobuf type {@code google.cloud.bigquery.dataexchange.v1beta1.DeleteDataExchangeRequest}
@@ -119,8 +119,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
*
- * Required. Resource name of the DataExchange to delete.
- * e.g. `projects/myproject/locations/US/dataExchanges/123`.
+ * Required. The full name of the data exchange resource that you want to delete.
+ * For example, `projects/myproject/locations/US/dataExchanges/123`.
*
*
*
@@ -145,8 +145,8 @@ public java.lang.String getName() {
*
*
*
- * Required. Resource name of the DataExchange to delete.
- * e.g. `projects/myproject/locations/US/dataExchanges/123`.
+ * Required. The full name of the data exchange resource that you want to delete.
+ * For example, `projects/myproject/locations/US/dataExchanges/123`.
*
*
*
@@ -334,7 +334,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
*
*
- * Message for deleting a DataExchange.
+ * Message for deleting a data exchange.
*
*
* Protobuf type {@code google.cloud.bigquery.dataexchange.v1beta1.DeleteDataExchangeRequest}
@@ -504,8 +504,8 @@ public Builder mergeFrom(
*
*
*
- * Required. Resource name of the DataExchange to delete.
- * e.g. `projects/myproject/locations/US/dataExchanges/123`.
+ * Required. The full name of the data exchange resource that you want to delete.
+ * For example, `projects/myproject/locations/US/dataExchanges/123`.
*
*
*
@@ -529,8 +529,8 @@ public java.lang.String getName() {
*
*
*
- * Required. Resource name of the DataExchange to delete.
- * e.g. `projects/myproject/locations/US/dataExchanges/123`.
+ * Required. The full name of the data exchange resource that you want to delete.
+ * For example, `projects/myproject/locations/US/dataExchanges/123`.
*
*
*
@@ -554,8 +554,8 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
*
- * Required. Resource name of the DataExchange to delete.
- * e.g. `projects/myproject/locations/US/dataExchanges/123`.
+ * Required. The full name of the data exchange resource that you want to delete.
+ * For example, `projects/myproject/locations/US/dataExchanges/123`.
*
*
*
@@ -578,8 +578,8 @@ public Builder setName(java.lang.String value) {
*
*
*
- * Required. Resource name of the DataExchange to delete.
- * e.g. `projects/myproject/locations/US/dataExchanges/123`.
+ * Required. The full name of the data exchange resource that you want to delete.
+ * For example, `projects/myproject/locations/US/dataExchanges/123`.
*
*
*
@@ -598,8 +598,8 @@ public Builder clearName() {
*
*
*
- * Required. Resource name of the DataExchange to delete.
- * e.g. `projects/myproject/locations/US/dataExchanges/123`.
+ * Required. The full name of the data exchange resource that you want to delete.
+ * For example, `projects/myproject/locations/US/dataExchanges/123`.
*
*
*
diff --git a/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/DeleteDataExchangeRequestOrBuilder.java b/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/DeleteDataExchangeRequestOrBuilder.java
index 6471d1f08d4d..33b8bbee8c92 100644
--- a/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/DeleteDataExchangeRequestOrBuilder.java
+++ b/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/DeleteDataExchangeRequestOrBuilder.java
@@ -27,8 +27,8 @@ public interface DeleteDataExchangeRequestOrBuilder
*
*
*
- * Required. Resource name of the DataExchange to delete.
- * e.g. `projects/myproject/locations/US/dataExchanges/123`.
+ * Required. The full name of the data exchange resource that you want to delete.
+ * For example, `projects/myproject/locations/US/dataExchanges/123`.
*
*
*
@@ -42,8 +42,8 @@ public interface DeleteDataExchangeRequestOrBuilder
*
*
*
- * Required. Resource name of the DataExchange to delete.
- * e.g. `projects/myproject/locations/US/dataExchanges/123`.
+ * Required. The full name of the data exchange resource that you want to delete.
+ * For example, `projects/myproject/locations/US/dataExchanges/123`.
*
*
*
diff --git a/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/DeleteListingRequest.java b/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/DeleteListingRequest.java
index f7e03b2ac2d0..bb16cacec3b7 100644
--- a/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/DeleteListingRequest.java
+++ b/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/DeleteListingRequest.java
@@ -22,7 +22,7 @@
*
*
*
- * Message for deleting a Listing.
+ * Message for deleting a listing.
*
*
* Protobuf type {@code google.cloud.bigquery.dataexchange.v1beta1.DeleteListingRequest}
@@ -333,7 +333,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
*
*
- * Message for deleting a Listing.
+ * Message for deleting a listing.
*
*
* Protobuf type {@code google.cloud.bigquery.dataexchange.v1beta1.DeleteListingRequest}
diff --git a/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/DestinationDataset.java b/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/DestinationDataset.java
index 4846e903de36..293f6b8582e7 100644
--- a/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/DestinationDataset.java
+++ b/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/DestinationDataset.java
@@ -22,7 +22,7 @@
*
*
*
- * Defines the Destination BigQuery Dataset.
+ * Defines the destination bigquery dataset.
*
*
* Protobuf type {@code google.cloud.bigquery.dataexchange.v1beta1.DestinationDataset}
@@ -738,7 +738,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
*
*
- * Defines the Destination BigQuery Dataset.
+ * Defines the destination bigquery dataset.
*
*
* Protobuf type {@code google.cloud.bigquery.dataexchange.v1beta1.DestinationDataset}
diff --git a/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/DestinationDatasetReference.java b/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/DestinationDatasetReference.java
index e236bb401e45..d8c8466d2127 100644
--- a/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/DestinationDatasetReference.java
+++ b/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/DestinationDatasetReference.java
@@ -22,7 +22,7 @@
*
*
*
- * Defines the Destination BigQuery Dataset Reference.
+ * Contains the reference that identifies a destination bigquery dataset.
*
*
* Protobuf type {@code google.cloud.bigquery.dataexchange.v1beta1.DestinationDatasetReference}
@@ -404,7 +404,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
*
*
- * Defines the Destination BigQuery Dataset Reference.
+ * Contains the reference that identifies a destination bigquery dataset.
*
*
* Protobuf type {@code google.cloud.bigquery.dataexchange.v1beta1.DestinationDatasetReference}
diff --git a/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/GetDataExchangeRequest.java b/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/GetDataExchangeRequest.java
index 4cbf701d8e13..d1222620e1bd 100644
--- a/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/GetDataExchangeRequest.java
+++ b/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/GetDataExchangeRequest.java
@@ -22,7 +22,7 @@
*
*
*
- * Message for getting a DataExchange.
+ * Message for getting a data exchange.
*
*
* Protobuf type {@code google.cloud.bigquery.dataexchange.v1beta1.GetDataExchangeRequest}
@@ -119,7 +119,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
*
- * Required. The resource name of the DataExchange.
+ * Required. The resource name of the data exchange.
* e.g. `projects/myproject/locations/US/dataExchanges/123`.
*
*
@@ -145,7 +145,7 @@ public java.lang.String getName() {
*
*
*
- * Required. The resource name of the DataExchange.
+ * Required. The resource name of the data exchange.
* e.g. `projects/myproject/locations/US/dataExchanges/123`.
*
*
@@ -333,7 +333,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
*
*
- * Message for getting a DataExchange.
+ * Message for getting a data exchange.
*
*
* Protobuf type {@code google.cloud.bigquery.dataexchange.v1beta1.GetDataExchangeRequest}
@@ -500,7 +500,7 @@ public Builder mergeFrom(
*
*
*
- * Required. The resource name of the DataExchange.
+ * Required. The resource name of the data exchange.
* e.g. `projects/myproject/locations/US/dataExchanges/123`.
*
*
@@ -525,7 +525,7 @@ public java.lang.String getName() {
*
*
*
- * Required. The resource name of the DataExchange.
+ * Required. The resource name of the data exchange.
* e.g. `projects/myproject/locations/US/dataExchanges/123`.
*
*
@@ -550,7 +550,7 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
*
- * Required. The resource name of the DataExchange.
+ * Required. The resource name of the data exchange.
* e.g. `projects/myproject/locations/US/dataExchanges/123`.
*
*
@@ -574,7 +574,7 @@ public Builder setName(java.lang.String value) {
*
*
*
- * Required. The resource name of the DataExchange.
+ * Required. The resource name of the data exchange.
* e.g. `projects/myproject/locations/US/dataExchanges/123`.
*
*
@@ -594,7 +594,7 @@ public Builder clearName() {
*
*
*
- * Required. The resource name of the DataExchange.
+ * Required. The resource name of the data exchange.
* e.g. `projects/myproject/locations/US/dataExchanges/123`.
*
*
diff --git a/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/GetDataExchangeRequestOrBuilder.java b/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/GetDataExchangeRequestOrBuilder.java
index d3d13156ae74..9ed7e09e1e20 100644
--- a/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/GetDataExchangeRequestOrBuilder.java
+++ b/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/GetDataExchangeRequestOrBuilder.java
@@ -27,7 +27,7 @@ public interface GetDataExchangeRequestOrBuilder
*
*
*
- * Required. The resource name of the DataExchange.
+ * Required. The resource name of the data exchange.
* e.g. `projects/myproject/locations/US/dataExchanges/123`.
*
*
@@ -42,7 +42,7 @@ public interface GetDataExchangeRequestOrBuilder
*
*
*
- * Required. The resource name of the DataExchange.
+ * Required. The resource name of the data exchange.
* e.g. `projects/myproject/locations/US/dataExchanges/123`.
*
*
diff --git a/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/GetListingRequest.java b/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/GetListingRequest.java
index d06423d62350..10310fbf2ca6 100644
--- a/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/GetListingRequest.java
+++ b/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/GetListingRequest.java
@@ -22,7 +22,7 @@
*
*
*
- * Message for getting a Listing.
+ * Message for getting a listing.
*
*
* Protobuf type {@code google.cloud.bigquery.dataexchange.v1beta1.GetListingRequest}
@@ -332,7 +332,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
*
*
- * Message for getting a Listing.
+ * Message for getting a listing.
*
*
* Protobuf type {@code google.cloud.bigquery.dataexchange.v1beta1.GetListingRequest}
diff --git a/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/ListDataExchangesRequest.java b/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/ListDataExchangesRequest.java
index 54ef3717116f..7b05b6b153b4 100644
--- a/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/ListDataExchangesRequest.java
+++ b/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/ListDataExchangesRequest.java
@@ -22,7 +22,7 @@
*
*
*
- * Message for requesting list of DataExchanges.
+ * Message for requesting the list of data exchanges.
*
*
* Protobuf type {@code google.cloud.bigquery.dataexchange.v1beta1.ListDataExchangesRequest}
@@ -132,7 +132,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
*
- * Required. The parent resource path of the DataExchanges.
+ * Required. The parent resource path of the data exchanges.
* e.g. `projects/myproject/locations/US`.
*
*
@@ -158,7 +158,7 @@ public java.lang.String getParent() {
*
*
*
- * Required. The parent resource path of the DataExchanges.
+ * Required. The parent resource path of the data exchanges.
* e.g. `projects/myproject/locations/US`.
*
*
@@ -434,7 +434,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
*
*
- * Message for requesting list of DataExchanges.
+ * Message for requesting the list of data exchanges.
*
*
* Protobuf type {@code google.cloud.bigquery.dataexchange.v1beta1.ListDataExchangesRequest}
@@ -617,7 +617,7 @@ public Builder mergeFrom(
*
*
*
- * Required. The parent resource path of the DataExchanges.
+ * Required. The parent resource path of the data exchanges.
* e.g. `projects/myproject/locations/US`.
*
*
@@ -642,7 +642,7 @@ public java.lang.String getParent() {
*
*
*
- * Required. The parent resource path of the DataExchanges.
+ * Required. The parent resource path of the data exchanges.
* e.g. `projects/myproject/locations/US`.
*
*
@@ -667,7 +667,7 @@ public com.google.protobuf.ByteString getParentBytes() {
*
*
*
- * Required. The parent resource path of the DataExchanges.
+ * Required. The parent resource path of the data exchanges.
* e.g. `projects/myproject/locations/US`.
*
*
@@ -691,7 +691,7 @@ public Builder setParent(java.lang.String value) {
*
*
*
- * Required. The parent resource path of the DataExchanges.
+ * Required. The parent resource path of the data exchanges.
* e.g. `projects/myproject/locations/US`.
*
*
@@ -711,7 +711,7 @@ public Builder clearParent() {
*
*
*
- * Required. The parent resource path of the DataExchanges.
+ * Required. The parent resource path of the data exchanges.
* e.g. `projects/myproject/locations/US`.
*
*
diff --git a/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/ListDataExchangesRequestOrBuilder.java b/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/ListDataExchangesRequestOrBuilder.java
index 46c89fda8736..df01f39fd374 100644
--- a/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/ListDataExchangesRequestOrBuilder.java
+++ b/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/ListDataExchangesRequestOrBuilder.java
@@ -27,7 +27,7 @@ public interface ListDataExchangesRequestOrBuilder
*
*
*
- * Required. The parent resource path of the DataExchanges.
+ * Required. The parent resource path of the data exchanges.
* e.g. `projects/myproject/locations/US`.
*
*
@@ -42,7 +42,7 @@ public interface ListDataExchangesRequestOrBuilder
*
*
*
- * Required. The parent resource path of the DataExchanges.
+ * Required. The parent resource path of the data exchanges.
* e.g. `projects/myproject/locations/US`.
*
*
diff --git a/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/ListDataExchangesResponse.java b/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/ListDataExchangesResponse.java
index 14e15f259b3f..faf66fccafd3 100644
--- a/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/ListDataExchangesResponse.java
+++ b/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/ListDataExchangesResponse.java
@@ -22,7 +22,7 @@
*
*
*
- * Message for response to listing DataExchanges.
+ * Message for response to the list of data exchanges.
*
*
* Protobuf type {@code google.cloud.bigquery.dataexchange.v1beta1.ListDataExchangesResponse}
@@ -139,7 +139,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
*
- * The list of DataExchange.
+ * The list of data exchanges.
*
*
* repeated .google.cloud.bigquery.dataexchange.v1beta1.DataExchange data_exchanges = 1;
@@ -154,7 +154,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
*
- * The list of DataExchange.
+ * The list of data exchanges.
*
*
* repeated .google.cloud.bigquery.dataexchange.v1beta1.DataExchange data_exchanges = 1;
@@ -170,7 +170,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
*
- * The list of DataExchange.
+ * The list of data exchanges.
*
*
* repeated .google.cloud.bigquery.dataexchange.v1beta1.DataExchange data_exchanges = 1;
@@ -184,7 +184,7 @@ public int getDataExchangesCount() {
*
*
*
- * The list of DataExchange.
+ * The list of data exchanges.
*
*
* repeated .google.cloud.bigquery.dataexchange.v1beta1.DataExchange data_exchanges = 1;
@@ -198,7 +198,7 @@ public com.google.cloud.bigquery.dataexchange.v1beta1.DataExchange getDataExchan
*
*
*
- * The list of DataExchange.
+ * The list of data exchanges.
*
*
* repeated .google.cloud.bigquery.dataexchange.v1beta1.DataExchange data_exchanges = 1;
@@ -436,7 +436,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
*
*
- * Message for response to listing DataExchanges.
+ * Message for response to the list of data exchanges.
*
*
* Protobuf type {@code google.cloud.bigquery.dataexchange.v1beta1.ListDataExchangesResponse}
@@ -670,7 +670,7 @@ private void ensureDataExchangesIsMutable() {
*
*
*
- * The list of DataExchange.
+ * The list of data exchanges.
*
*
* repeated .google.cloud.bigquery.dataexchange.v1beta1.DataExchange data_exchanges = 1;
@@ -688,7 +688,7 @@ private void ensureDataExchangesIsMutable() {
*
*
*
- * The list of DataExchange.
+ * The list of data exchanges.
*
*
* repeated .google.cloud.bigquery.dataexchange.v1beta1.DataExchange data_exchanges = 1;
@@ -705,7 +705,7 @@ public int getDataExchangesCount() {
*
*
*
- * The list of DataExchange.
+ * The list of data exchanges.
*
*
* repeated .google.cloud.bigquery.dataexchange.v1beta1.DataExchange data_exchanges = 1;
@@ -722,7 +722,7 @@ public com.google.cloud.bigquery.dataexchange.v1beta1.DataExchange getDataExchan
*
*
*
- * The list of DataExchange.
+ * The list of data exchanges.
*
*
* repeated .google.cloud.bigquery.dataexchange.v1beta1.DataExchange data_exchanges = 1;
@@ -746,7 +746,7 @@ public Builder setDataExchanges(
*
*
*
- * The list of DataExchange.
+ * The list of data exchanges.
*
*
* repeated .google.cloud.bigquery.dataexchange.v1beta1.DataExchange data_exchanges = 1;
@@ -768,7 +768,7 @@ public Builder setDataExchanges(
*
*
*
- * The list of DataExchange.
+ * The list of data exchanges.
*
*
* repeated .google.cloud.bigquery.dataexchange.v1beta1.DataExchange data_exchanges = 1;
@@ -792,7 +792,7 @@ public Builder addDataExchanges(
*
*
*
- * The list of DataExchange.
+ * The list of data exchanges.
*
*
* repeated .google.cloud.bigquery.dataexchange.v1beta1.DataExchange data_exchanges = 1;
@@ -816,7 +816,7 @@ public Builder addDataExchanges(
*
*
*
- * The list of DataExchange.
+ * The list of data exchanges.
*
*
* repeated .google.cloud.bigquery.dataexchange.v1beta1.DataExchange data_exchanges = 1;
@@ -837,7 +837,7 @@ public Builder addDataExchanges(
*
*
*
- * The list of DataExchange.
+ * The list of data exchanges.
*
*
* repeated .google.cloud.bigquery.dataexchange.v1beta1.DataExchange data_exchanges = 1;
@@ -859,7 +859,7 @@ public Builder addDataExchanges(
*
*
*
- * The list of DataExchange.
+ * The list of data exchanges.
*
*
* repeated .google.cloud.bigquery.dataexchange.v1beta1.DataExchange data_exchanges = 1;
@@ -881,7 +881,7 @@ public Builder addAllDataExchanges(
*
*
*
- * The list of DataExchange.
+ * The list of data exchanges.
*
*
* repeated .google.cloud.bigquery.dataexchange.v1beta1.DataExchange data_exchanges = 1;
@@ -901,7 +901,7 @@ public Builder clearDataExchanges() {
*
*
*
- * The list of DataExchange.
+ * The list of data exchanges.
*
*
* repeated .google.cloud.bigquery.dataexchange.v1beta1.DataExchange data_exchanges = 1;
@@ -921,7 +921,7 @@ public Builder removeDataExchanges(int index) {
*
*
*
- * The list of DataExchange.
+ * The list of data exchanges.
*
*
* repeated .google.cloud.bigquery.dataexchange.v1beta1.DataExchange data_exchanges = 1;
@@ -935,7 +935,7 @@ public Builder removeDataExchanges(int index) {
*
*
*
- * The list of DataExchange.
+ * The list of data exchanges.
*
*
* repeated .google.cloud.bigquery.dataexchange.v1beta1.DataExchange data_exchanges = 1;
@@ -953,7 +953,7 @@ public Builder removeDataExchanges(int index) {
*
*
*
- * The list of DataExchange.
+ * The list of data exchanges.
*
*
* repeated .google.cloud.bigquery.dataexchange.v1beta1.DataExchange data_exchanges = 1;
@@ -972,7 +972,7 @@ public Builder removeDataExchanges(int index) {
*
*
*
- * The list of DataExchange.
+ * The list of data exchanges.
*
*
* repeated .google.cloud.bigquery.dataexchange.v1beta1.DataExchange data_exchanges = 1;
@@ -988,7 +988,7 @@ public Builder removeDataExchanges(int index) {
*
*
*
- * The list of DataExchange.
+ * The list of data exchanges.
*
*
* repeated .google.cloud.bigquery.dataexchange.v1beta1.DataExchange data_exchanges = 1;
@@ -1005,7 +1005,7 @@ public Builder removeDataExchanges(int index) {
*
*
*
- * The list of DataExchange.
+ * The list of data exchanges.
*
*
* repeated .google.cloud.bigquery.dataexchange.v1beta1.DataExchange data_exchanges = 1;
diff --git a/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/ListDataExchangesResponseOrBuilder.java b/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/ListDataExchangesResponseOrBuilder.java
index ba05585813f1..67d9101c6e3b 100644
--- a/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/ListDataExchangesResponseOrBuilder.java
+++ b/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/ListDataExchangesResponseOrBuilder.java
@@ -27,7 +27,7 @@ public interface ListDataExchangesResponseOrBuilder
*
*
*
- * The list of DataExchange.
+ * The list of data exchanges.
*
*
* repeated .google.cloud.bigquery.dataexchange.v1beta1.DataExchange data_exchanges = 1;
@@ -39,7 +39,7 @@ public interface ListDataExchangesResponseOrBuilder
*
*
*
- * The list of DataExchange.
+ * The list of data exchanges.
*
*
* repeated .google.cloud.bigquery.dataexchange.v1beta1.DataExchange data_exchanges = 1;
@@ -50,7 +50,7 @@ public interface ListDataExchangesResponseOrBuilder
*
*
*
- * The list of DataExchange.
+ * The list of data exchanges.
*
*
* repeated .google.cloud.bigquery.dataexchange.v1beta1.DataExchange data_exchanges = 1;
@@ -61,7 +61,7 @@ public interface ListDataExchangesResponseOrBuilder
*
*
*
- * The list of DataExchange.
+ * The list of data exchanges.
*
*
* repeated .google.cloud.bigquery.dataexchange.v1beta1.DataExchange data_exchanges = 1;
@@ -73,7 +73,7 @@ public interface ListDataExchangesResponseOrBuilder
*
*
*
- * The list of DataExchange.
+ * The list of data exchanges.
*
*
* repeated .google.cloud.bigquery.dataexchange.v1beta1.DataExchange data_exchanges = 1;
diff --git a/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/ListListingsRequest.java b/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/ListListingsRequest.java
index 4fda1d623127..f76de0e2b113 100644
--- a/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/ListListingsRequest.java
+++ b/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/ListListingsRequest.java
@@ -22,7 +22,7 @@
*
*
*
- * Message for requesting list of Listings.
+ * Message for requesting the list of listings.
*
*
* Protobuf type {@code google.cloud.bigquery.dataexchange.v1beta1.ListListingsRequest}
@@ -434,7 +434,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
*
*
- * Message for requesting list of Listings.
+ * Message for requesting the list of listings.
*
*
* Protobuf type {@code google.cloud.bigquery.dataexchange.v1beta1.ListListingsRequest}
diff --git a/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/ListListingsResponse.java b/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/ListListingsResponse.java
index 700fc5597c79..f95b3e01697c 100644
--- a/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/ListListingsResponse.java
+++ b/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/ListListingsResponse.java
@@ -22,7 +22,7 @@
*
*
*
- * Message for response to listing Listings.
+ * Message for response to the list of Listings.
*
*
* Protobuf type {@code google.cloud.bigquery.dataexchange.v1beta1.ListListingsResponse}
@@ -427,7 +427,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
*
*
- * Message for response to listing Listings.
+ * Message for response to the list of Listings.
*
*
* Protobuf type {@code google.cloud.bigquery.dataexchange.v1beta1.ListListingsResponse}
diff --git a/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/ListOrgDataExchangesRequest.java b/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/ListOrgDataExchangesRequest.java
index 0a87a4008533..f0c5408cf6a1 100644
--- a/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/ListOrgDataExchangesRequest.java
+++ b/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/ListOrgDataExchangesRequest.java
@@ -22,8 +22,8 @@
*
*
*
- * Message for requesting list of DataExchanges from projects in an organization
- * and location.
+ * Message for requesting the list of data exchanges from projects in an
+ * organization and location.
*
*
* Protobuf type {@code google.cloud.bigquery.dataexchange.v1beta1.ListOrgDataExchangesRequest}
@@ -438,8 +438,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
*
*
- * Message for requesting list of DataExchanges from projects in an organization
- * and location.
+ * Message for requesting the list of data exchanges from projects in an
+ * organization and location.
*
*
* Protobuf type {@code google.cloud.bigquery.dataexchange.v1beta1.ListOrgDataExchangesRequest}
diff --git a/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/ListOrgDataExchangesResponse.java b/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/ListOrgDataExchangesResponse.java
index df9dd5009a81..4d7c3c934be5 100644
--- a/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/ListOrgDataExchangesResponse.java
+++ b/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/ListOrgDataExchangesResponse.java
@@ -22,7 +22,7 @@
*
*
*
- * Message for response to listing DataExchanges in an organization and
+ * Message for response to listing data exchanges in an organization and
* location.
*
*
@@ -141,7 +141,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
*
- * The list of DataExchange.
+ * The list of data exchanges.
*
*
* repeated .google.cloud.bigquery.dataexchange.v1beta1.DataExchange data_exchanges = 1;
@@ -156,7 +156,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
*
- * The list of DataExchange.
+ * The list of data exchanges.
*
*
* repeated .google.cloud.bigquery.dataexchange.v1beta1.DataExchange data_exchanges = 1;
@@ -172,7 +172,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
*
- * The list of DataExchange.
+ * The list of data exchanges.
*
*
* repeated .google.cloud.bigquery.dataexchange.v1beta1.DataExchange data_exchanges = 1;
@@ -186,7 +186,7 @@ public int getDataExchangesCount() {
*
*
*
- * The list of DataExchange.
+ * The list of data exchanges.
*
*
* repeated .google.cloud.bigquery.dataexchange.v1beta1.DataExchange data_exchanges = 1;
@@ -200,7 +200,7 @@ public com.google.cloud.bigquery.dataexchange.v1beta1.DataExchange getDataExchan
*
*
*
- * The list of DataExchange.
+ * The list of data exchanges.
*
*
* repeated .google.cloud.bigquery.dataexchange.v1beta1.DataExchange data_exchanges = 1;
@@ -443,7 +443,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
*
*
- * Message for response to listing DataExchanges in an organization and
+ * Message for response to listing data exchanges in an organization and
* location.
*
*
@@ -680,7 +680,7 @@ private void ensureDataExchangesIsMutable() {
*
*
*
- * The list of DataExchange.
+ * The list of data exchanges.
*
*
* repeated .google.cloud.bigquery.dataexchange.v1beta1.DataExchange data_exchanges = 1;
@@ -698,7 +698,7 @@ private void ensureDataExchangesIsMutable() {
*
*
*
- * The list of DataExchange.
+ * The list of data exchanges.
*
*
* repeated .google.cloud.bigquery.dataexchange.v1beta1.DataExchange data_exchanges = 1;
@@ -715,7 +715,7 @@ public int getDataExchangesCount() {
*
*
*
- * The list of DataExchange.
+ * The list of data exchanges.
*
*
* repeated .google.cloud.bigquery.dataexchange.v1beta1.DataExchange data_exchanges = 1;
@@ -732,7 +732,7 @@ public com.google.cloud.bigquery.dataexchange.v1beta1.DataExchange getDataExchan
*
*
*
- * The list of DataExchange.
+ * The list of data exchanges.
*
*
* repeated .google.cloud.bigquery.dataexchange.v1beta1.DataExchange data_exchanges = 1;
@@ -756,7 +756,7 @@ public Builder setDataExchanges(
*
*
*