{@code
* try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
* AnalyticsAdminServiceClient.create()) {
- * String parent = UserLinkName.ofAccountUserLinkName("[ACCOUNT]", "[USER_LINK]").toString();
+ * String parent = AccountName.of("[ACCOUNT]").toString();
* for (UserLink element : analyticsAdminServiceClient.listUserLinks(parent).iterateAll()) {
* // doThingsWith(element);
* }
@@ -1407,7 +1407,7 @@ public final ListUserLinksPagedResponse listUserLinks(String parent) {
* AnalyticsAdminServiceClient.create()) {
* ListUserLinksRequest request =
* ListUserLinksRequest.newBuilder()
- * .setParent(UserLinkName.ofAccountUserLinkName("[ACCOUNT]", "[USER_LINK]").toString())
+ * .setParent(AccountName.of("[ACCOUNT]").toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .build();
@@ -1435,7 +1435,7 @@ public final ListUserLinksPagedResponse listUserLinks(ListUserLinksRequest reque
* AnalyticsAdminServiceClient.create()) {
* ListUserLinksRequest request =
* ListUserLinksRequest.newBuilder()
- * .setParent(UserLinkName.ofAccountUserLinkName("[ACCOUNT]", "[USER_LINK]").toString())
+ * .setParent(AccountName.of("[ACCOUNT]").toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .build();
@@ -1464,7 +1464,7 @@ public final ListUserLinksPagedResponse listUserLinks(ListUserLinksRequest reque
* AnalyticsAdminServiceClient.create()) {
* ListUserLinksRequest request =
* ListUserLinksRequest.newBuilder()
- * .setParent(UserLinkName.ofAccountUserLinkName("[ACCOUNT]", "[USER_LINK]").toString())
+ * .setParent(AccountName.of("[ACCOUNT]").toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .build();
@@ -1505,7 +1505,7 @@ public final UnaryCallable listUser
* AnalyticsAdminServiceClient.create()) {
* AuditUserLinksRequest request =
* AuditUserLinksRequest.newBuilder()
- * .setParent(UserLinkName.ofAccountUserLinkName("[ACCOUNT]", "[USER_LINK]").toString())
+ * .setParent(AccountName.of("[ACCOUNT]").toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .build();
@@ -1540,7 +1540,7 @@ public final AuditUserLinksPagedResponse auditUserLinks(AuditUserLinksRequest re
* AnalyticsAdminServiceClient.create()) {
* AuditUserLinksRequest request =
* AuditUserLinksRequest.newBuilder()
- * .setParent(UserLinkName.ofAccountUserLinkName("[ACCOUNT]", "[USER_LINK]").toString())
+ * .setParent(AccountName.of("[ACCOUNT]").toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .build();
@@ -1575,7 +1575,7 @@ public final AuditUserLinksPagedResponse auditUserLinks(AuditUserLinksRequest re
* AnalyticsAdminServiceClient.create()) {
* AuditUserLinksRequest request =
* AuditUserLinksRequest.newBuilder()
- * .setParent(UserLinkName.ofAccountUserLinkName("[ACCOUNT]", "[USER_LINK]").toString())
+ * .setParent(AccountName.of("[ACCOUNT]").toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .build();
@@ -1677,7 +1677,7 @@ public final UserLink createUserLink(PropertyName parent, UserLink userLink) {
* {@code
* try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
* AnalyticsAdminServiceClient.create()) {
- * String parent = UserLinkName.ofAccountUserLinkName("[ACCOUNT]", "[USER_LINK]").toString();
+ * String parent = AccountName.of("[ACCOUNT]").toString();
* UserLink userLink = UserLink.newBuilder().build();
* UserLink response = analyticsAdminServiceClient.createUserLink(parent, userLink);
* }
@@ -1708,7 +1708,7 @@ public final UserLink createUserLink(String parent, UserLink userLink) {
* AnalyticsAdminServiceClient.create()) {
* CreateUserLinkRequest request =
* CreateUserLinkRequest.newBuilder()
- * .setParent(UserLinkName.ofAccountUserLinkName("[ACCOUNT]", "[USER_LINK]").toString())
+ * .setParent(AccountName.of("[ACCOUNT]").toString())
* .setNotifyNewUser(true)
* .setUserLink(UserLink.newBuilder().build())
* .build();
@@ -1738,7 +1738,7 @@ public final UserLink createUserLink(CreateUserLinkRequest request) {
* AnalyticsAdminServiceClient.create()) {
* CreateUserLinkRequest request =
* CreateUserLinkRequest.newBuilder()
- * .setParent(UserLinkName.ofAccountUserLinkName("[ACCOUNT]", "[USER_LINK]").toString())
+ * .setParent(AccountName.of("[ACCOUNT]").toString())
* .setNotifyNewUser(true)
* .setUserLink(UserLink.newBuilder().build())
* .build();
@@ -1767,7 +1767,7 @@ public final UnaryCallable createUserLinkCallab
* AnalyticsAdminServiceClient.create()) {
* BatchCreateUserLinksRequest request =
* BatchCreateUserLinksRequest.newBuilder()
- * .setParent(UserLinkName.ofAccountUserLinkName("[ACCOUNT]", "[USER_LINK]").toString())
+ * .setParent(AccountName.of("[ACCOUNT]").toString())
* .setNotifyNewUsers(true)
* .addAllRequests(new ArrayList())
* .build();
@@ -1798,7 +1798,7 @@ public final BatchCreateUserLinksResponse batchCreateUserLinks(
* AnalyticsAdminServiceClient.create()) {
* BatchCreateUserLinksRequest request =
* BatchCreateUserLinksRequest.newBuilder()
- * .setParent(UserLinkName.ofAccountUserLinkName("[ACCOUNT]", "[USER_LINK]").toString())
+ * .setParent(AccountName.of("[ACCOUNT]").toString())
* .setNotifyNewUsers(true)
* .addAllRequests(new ArrayList())
* .build();
@@ -1892,7 +1892,7 @@ public final UnaryCallable updateUserLinkCallab
* AnalyticsAdminServiceClient.create()) {
* BatchUpdateUserLinksRequest request =
* BatchUpdateUserLinksRequest.newBuilder()
- * .setParent(UserLinkName.ofAccountUserLinkName("[ACCOUNT]", "[USER_LINK]").toString())
+ * .setParent(AccountName.of("[ACCOUNT]").toString())
* .addAllRequests(new ArrayList())
* .build();
* BatchUpdateUserLinksResponse response =
@@ -1919,7 +1919,7 @@ public final BatchUpdateUserLinksResponse batchUpdateUserLinks(
* AnalyticsAdminServiceClient.create()) {
* BatchUpdateUserLinksRequest request =
* BatchUpdateUserLinksRequest.newBuilder()
- * .setParent(UserLinkName.ofAccountUserLinkName("[ACCOUNT]", "[USER_LINK]").toString())
+ * .setParent(AccountName.of("[ACCOUNT]").toString())
* .addAllRequests(new ArrayList())
* .build();
* ApiFuture future =
@@ -2038,7 +2038,7 @@ public final UnaryCallable deleteUserLinkCallable(
* AnalyticsAdminServiceClient.create()) {
* BatchDeleteUserLinksRequest request =
* BatchDeleteUserLinksRequest.newBuilder()
- * .setParent(UserLinkName.ofAccountUserLinkName("[ACCOUNT]", "[USER_LINK]").toString())
+ * .setParent(AccountName.of("[ACCOUNT]").toString())
* .addAllRequests(new ArrayList())
* .build();
* analyticsAdminServiceClient.batchDeleteUserLinks(request);
@@ -2063,7 +2063,7 @@ public final void batchDeleteUserLinks(BatchDeleteUserLinksRequest request) {
* AnalyticsAdminServiceClient.create()) {
* BatchDeleteUserLinksRequest request =
* BatchDeleteUserLinksRequest.newBuilder()
- * .setParent(UserLinkName.ofAccountUserLinkName("[ACCOUNT]", "[USER_LINK]").toString())
+ * .setParent(AccountName.of("[ACCOUNT]").toString())
* .addAllRequests(new ArrayList())
* .build();
* ApiFuture future =
@@ -2397,7 +2397,7 @@ public final WebDataStream createWebDataStream(PropertyName parent, WebDataStrea
* {@code
* try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
* AnalyticsAdminServiceClient.create()) {
- * String parent = WebDataStreamName.of("[PROPERTY]", "[WEB_DATA_STREAM]").toString();
+ * String parent = PropertyName.of("[PROPERTY]").toString();
* WebDataStream webDataStream = WebDataStream.newBuilder().build();
* WebDataStream response =
* analyticsAdminServiceClient.createWebDataStream(parent, webDataStream);
@@ -2430,7 +2430,7 @@ public final WebDataStream createWebDataStream(String parent, WebDataStream webD
* CreateWebDataStreamRequest request =
* CreateWebDataStreamRequest.newBuilder()
* .setWebDataStream(WebDataStream.newBuilder().build())
- * .setParent(WebDataStreamName.of("[PROPERTY]", "[WEB_DATA_STREAM]").toString())
+ * .setParent(PropertyName.of("[PROPERTY]").toString())
* .build();
* WebDataStream response = analyticsAdminServiceClient.createWebDataStream(request);
* }
@@ -2455,7 +2455,7 @@ public final WebDataStream createWebDataStream(CreateWebDataStreamRequest reques
* CreateWebDataStreamRequest request =
* CreateWebDataStreamRequest.newBuilder()
* .setWebDataStream(WebDataStream.newBuilder().build())
- * .setParent(WebDataStreamName.of("[PROPERTY]", "[WEB_DATA_STREAM]").toString())
+ * .setParent(PropertyName.of("[PROPERTY]").toString())
* .build();
* ApiFuture future =
* analyticsAdminServiceClient.createWebDataStreamCallable().futureCall(request);
@@ -2513,7 +2513,7 @@ public final ListWebDataStreamsPagedResponse listWebDataStreams(PropertyName par
* {@code
* try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
* AnalyticsAdminServiceClient.create()) {
- * String parent = WebDataStreamName.of("[PROPERTY]", "[WEB_DATA_STREAM]").toString();
+ * String parent = PropertyName.of("[PROPERTY]").toString();
* for (WebDataStream element :
* analyticsAdminServiceClient.listWebDataStreams(parent).iterateAll()) {
* // doThingsWith(element);
@@ -2545,7 +2545,7 @@ public final ListWebDataStreamsPagedResponse listWebDataStreams(String parent) {
* AnalyticsAdminServiceClient.create()) {
* ListWebDataStreamsRequest request =
* ListWebDataStreamsRequest.newBuilder()
- * .setParent(WebDataStreamName.of("[PROPERTY]", "[WEB_DATA_STREAM]").toString())
+ * .setParent(PropertyName.of("[PROPERTY]").toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .build();
@@ -2578,7 +2578,7 @@ public final ListWebDataStreamsPagedResponse listWebDataStreams(
* AnalyticsAdminServiceClient.create()) {
* ListWebDataStreamsRequest request =
* ListWebDataStreamsRequest.newBuilder()
- * .setParent(WebDataStreamName.of("[PROPERTY]", "[WEB_DATA_STREAM]").toString())
+ * .setParent(PropertyName.of("[PROPERTY]").toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .build();
@@ -2610,7 +2610,7 @@ public final ListWebDataStreamsPagedResponse listWebDataStreams(
* AnalyticsAdminServiceClient.create()) {
* ListWebDataStreamsRequest request =
* ListWebDataStreamsRequest.newBuilder()
- * .setParent(WebDataStreamName.of("[PROPERTY]", "[WEB_DATA_STREAM]").toString())
+ * .setParent(PropertyName.of("[PROPERTY]").toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .build();
@@ -2965,7 +2965,7 @@ public final ListIosAppDataStreamsPagedResponse listIosAppDataStreams(PropertyNa
* {@code
* try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
* AnalyticsAdminServiceClient.create()) {
- * String parent = IosAppDataStreamName.of("[PROPERTY]", "[IOS_APP_DATA_STREAM]").toString();
+ * String parent = PropertyName.of("[PROPERTY]").toString();
* for (IosAppDataStream element :
* analyticsAdminServiceClient.listIosAppDataStreams(parent).iterateAll()) {
* // doThingsWith(element);
@@ -2997,7 +2997,7 @@ public final ListIosAppDataStreamsPagedResponse listIosAppDataStreams(String par
* AnalyticsAdminServiceClient.create()) {
* ListIosAppDataStreamsRequest request =
* ListIosAppDataStreamsRequest.newBuilder()
- * .setParent(IosAppDataStreamName.of("[PROPERTY]", "[IOS_APP_DATA_STREAM]").toString())
+ * .setParent(PropertyName.of("[PROPERTY]").toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .build();
@@ -3030,7 +3030,7 @@ public final ListIosAppDataStreamsPagedResponse listIosAppDataStreams(
* AnalyticsAdminServiceClient.create()) {
* ListIosAppDataStreamsRequest request =
* ListIosAppDataStreamsRequest.newBuilder()
- * .setParent(IosAppDataStreamName.of("[PROPERTY]", "[IOS_APP_DATA_STREAM]").toString())
+ * .setParent(PropertyName.of("[PROPERTY]").toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .build();
@@ -3062,7 +3062,7 @@ public final ListIosAppDataStreamsPagedResponse listIosAppDataStreams(
* AnalyticsAdminServiceClient.create()) {
* ListIosAppDataStreamsRequest request =
* ListIosAppDataStreamsRequest.newBuilder()
- * .setParent(IosAppDataStreamName.of("[PROPERTY]", "[IOS_APP_DATA_STREAM]").toString())
+ * .setParent(PropertyName.of("[PROPERTY]").toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .build();
@@ -3429,8 +3429,7 @@ public final ListAndroidAppDataStreamsPagedResponse listAndroidAppDataStreams(
* {@code
* try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
* AnalyticsAdminServiceClient.create()) {
- * String parent =
- * AndroidAppDataStreamName.of("[PROPERTY]", "[ANDROID_APP_DATA_STREAM]").toString();
+ * String parent = PropertyName.of("[PROPERTY]").toString();
* for (AndroidAppDataStream element :
* analyticsAdminServiceClient.listAndroidAppDataStreams(parent).iterateAll()) {
* // doThingsWith(element);
@@ -3462,8 +3461,7 @@ public final ListAndroidAppDataStreamsPagedResponse listAndroidAppDataStreams(St
* AnalyticsAdminServiceClient.create()) {
* ListAndroidAppDataStreamsRequest request =
* ListAndroidAppDataStreamsRequest.newBuilder()
- * .setParent(
- * AndroidAppDataStreamName.of("[PROPERTY]", "[ANDROID_APP_DATA_STREAM]").toString())
+ * .setParent(PropertyName.of("[PROPERTY]").toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .build();
@@ -3496,8 +3494,7 @@ public final ListAndroidAppDataStreamsPagedResponse listAndroidAppDataStreams(
* AnalyticsAdminServiceClient.create()) {
* ListAndroidAppDataStreamsRequest request =
* ListAndroidAppDataStreamsRequest.newBuilder()
- * .setParent(
- * AndroidAppDataStreamName.of("[PROPERTY]", "[ANDROID_APP_DATA_STREAM]").toString())
+ * .setParent(PropertyName.of("[PROPERTY]").toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .build();
@@ -3530,8 +3527,7 @@ public final ListAndroidAppDataStreamsPagedResponse listAndroidAppDataStreams(
* AnalyticsAdminServiceClient.create()) {
* ListAndroidAppDataStreamsRequest request =
* ListAndroidAppDataStreamsRequest.newBuilder()
- * .setParent(
- * AndroidAppDataStreamName.of("[PROPERTY]", "[ANDROID_APP_DATA_STREAM]").toString())
+ * .setParent(PropertyName.of("[PROPERTY]").toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .build();
@@ -3804,7 +3800,7 @@ public final FirebaseLink createFirebaseLink(PropertyName parent, FirebaseLink f
* {@code
* try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
* AnalyticsAdminServiceClient.create()) {
- * String parent = FirebaseLinkName.of("[PROPERTY]", "[FIREBASE_LINK]").toString();
+ * String parent = PropertyName.of("[PROPERTY]").toString();
* FirebaseLink firebaseLink = FirebaseLink.newBuilder().build();
* FirebaseLink response = analyticsAdminServiceClient.createFirebaseLink(parent, firebaseLink);
* }
@@ -3836,7 +3832,7 @@ public final FirebaseLink createFirebaseLink(String parent, FirebaseLink firebas
* AnalyticsAdminServiceClient.create()) {
* CreateFirebaseLinkRequest request =
* CreateFirebaseLinkRequest.newBuilder()
- * .setParent(FirebaseLinkName.of("[PROPERTY]", "[FIREBASE_LINK]").toString())
+ * .setParent(PropertyName.of("[PROPERTY]").toString())
* .setFirebaseLink(FirebaseLink.newBuilder().build())
* .build();
* FirebaseLink response = analyticsAdminServiceClient.createFirebaseLink(request);
@@ -3863,7 +3859,7 @@ public final FirebaseLink createFirebaseLink(CreateFirebaseLinkRequest request)
* AnalyticsAdminServiceClient.create()) {
* CreateFirebaseLinkRequest request =
* CreateFirebaseLinkRequest.newBuilder()
- * .setParent(FirebaseLinkName.of("[PROPERTY]", "[FIREBASE_LINK]").toString())
+ * .setParent(PropertyName.of("[PROPERTY]").toString())
* .setFirebaseLink(FirebaseLink.newBuilder().build())
* .build();
* ApiFuture future =
@@ -3877,87 +3873,6 @@ public final UnaryCallable createFireba
return stub.createFirebaseLinkCallable();
}
- // AUTO-GENERATED DOCUMENTATION AND METHOD.
- /**
- * Updates a FirebaseLink on a property
- *
- * Sample code:
- *
- *
{@code
- * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
- * AnalyticsAdminServiceClient.create()) {
- * FirebaseLink firebaseLink = FirebaseLink.newBuilder().build();
- * FieldMask updateMask = FieldMask.newBuilder().build();
- * FirebaseLink response =
- * analyticsAdminServiceClient.updateFirebaseLink(firebaseLink, updateMask);
- * }
- * }
- *
- * @param firebaseLink Required. The Firebase link to update.
- * @param updateMask Required. The list of fields to be updated. Field names must be in snake case
- * (e.g., "field_to_update"). Omitted fields will not be updated. To replace the entire
- * entity, use one path with the string "*" to match all fields.
- * @throws com.google.api.gax.rpc.ApiException if the remote call fails
- */
- public final FirebaseLink updateFirebaseLink(FirebaseLink firebaseLink, FieldMask updateMask) {
- UpdateFirebaseLinkRequest request =
- UpdateFirebaseLinkRequest.newBuilder()
- .setFirebaseLink(firebaseLink)
- .setUpdateMask(updateMask)
- .build();
- return updateFirebaseLink(request);
- }
-
- // AUTO-GENERATED DOCUMENTATION AND METHOD.
- /**
- * Updates a FirebaseLink on a property
- *
- * Sample code:
- *
- *
{@code
- * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
- * AnalyticsAdminServiceClient.create()) {
- * UpdateFirebaseLinkRequest request =
- * UpdateFirebaseLinkRequest.newBuilder()
- * .setFirebaseLink(FirebaseLink.newBuilder().build())
- * .setUpdateMask(FieldMask.newBuilder().build())
- * .build();
- * FirebaseLink response = analyticsAdminServiceClient.updateFirebaseLink(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 FirebaseLink updateFirebaseLink(UpdateFirebaseLinkRequest request) {
- return updateFirebaseLinkCallable().call(request);
- }
-
- // AUTO-GENERATED DOCUMENTATION AND METHOD.
- /**
- * Updates a FirebaseLink on a property
- *
- * Sample code:
- *
- *
{@code
- * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
- * AnalyticsAdminServiceClient.create()) {
- * UpdateFirebaseLinkRequest request =
- * UpdateFirebaseLinkRequest.newBuilder()
- * .setFirebaseLink(FirebaseLink.newBuilder().build())
- * .setUpdateMask(FieldMask.newBuilder().build())
- * .build();
- * ApiFuture future =
- * analyticsAdminServiceClient.updateFirebaseLinkCallable().futureCall(request);
- * // Do something.
- * FirebaseLink response = future.get();
- * }
- * }
- */
- public final UnaryCallable updateFirebaseLinkCallable() {
- return stub.updateFirebaseLinkCallable();
- }
-
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Deletes a FirebaseLink on a property
@@ -4093,7 +4008,7 @@ public final ListFirebaseLinksPagedResponse listFirebaseLinks(PropertyName paren
* {@code
* try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
* AnalyticsAdminServiceClient.create()) {
- * String parent = FirebaseLinkName.of("[PROPERTY]", "[FIREBASE_LINK]").toString();
+ * String parent = PropertyName.of("[PROPERTY]").toString();
* for (FirebaseLink element :
* analyticsAdminServiceClient.listFirebaseLinks(parent).iterateAll()) {
* // doThingsWith(element);
@@ -4121,7 +4036,7 @@ public final ListFirebaseLinksPagedResponse listFirebaseLinks(String parent) {
* AnalyticsAdminServiceClient.create()) {
* ListFirebaseLinksRequest request =
* ListFirebaseLinksRequest.newBuilder()
- * .setParent(FirebaseLinkName.of("[PROPERTY]", "[FIREBASE_LINK]").toString())
+ * .setParent(PropertyName.of("[PROPERTY]").toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .build();
@@ -4150,7 +4065,7 @@ public final ListFirebaseLinksPagedResponse listFirebaseLinks(ListFirebaseLinksR
* AnalyticsAdminServiceClient.create()) {
* ListFirebaseLinksRequest request =
* ListFirebaseLinksRequest.newBuilder()
- * .setParent(FirebaseLinkName.of("[PROPERTY]", "[FIREBASE_LINK]").toString())
+ * .setParent(PropertyName.of("[PROPERTY]").toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .build();
@@ -4179,7 +4094,7 @@ public final ListFirebaseLinksPagedResponse listFirebaseLinks(ListFirebaseLinksR
* AnalyticsAdminServiceClient.create()) {
* ListFirebaseLinksRequest request =
* ListFirebaseLinksRequest.newBuilder()
- * .setParent(FirebaseLinkName.of("[PROPERTY]", "[FIREBASE_LINK]").toString())
+ * .setParent(PropertyName.of("[PROPERTY]").toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .build();
@@ -4341,7 +4256,7 @@ public final GoogleAdsLink createGoogleAdsLink(PropertyName parent, GoogleAdsLin
* {@code
* try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
* AnalyticsAdminServiceClient.create()) {
- * String parent = GoogleAdsLinkName.of("[PROPERTY]", "[GOOGLE_ADS_LINK]").toString();
+ * String parent = PropertyName.of("[PROPERTY]").toString();
* GoogleAdsLink googleAdsLink = GoogleAdsLink.newBuilder().build();
* GoogleAdsLink response =
* analyticsAdminServiceClient.createGoogleAdsLink(parent, googleAdsLink);
@@ -4372,7 +4287,7 @@ public final GoogleAdsLink createGoogleAdsLink(String parent, GoogleAdsLink goog
* AnalyticsAdminServiceClient.create()) {
* CreateGoogleAdsLinkRequest request =
* CreateGoogleAdsLinkRequest.newBuilder()
- * .setParent(GoogleAdsLinkName.of("[PROPERTY]", "[GOOGLE_ADS_LINK]").toString())
+ * .setParent(PropertyName.of("[PROPERTY]").toString())
* .setGoogleAdsLink(GoogleAdsLink.newBuilder().build())
* .build();
* GoogleAdsLink response = analyticsAdminServiceClient.createGoogleAdsLink(request);
@@ -4397,7 +4312,7 @@ public final GoogleAdsLink createGoogleAdsLink(CreateGoogleAdsLinkRequest reques
* AnalyticsAdminServiceClient.create()) {
* CreateGoogleAdsLinkRequest request =
* CreateGoogleAdsLinkRequest.newBuilder()
- * .setParent(GoogleAdsLinkName.of("[PROPERTY]", "[GOOGLE_ADS_LINK]").toString())
+ * .setParent(PropertyName.of("[PROPERTY]").toString())
* .setGoogleAdsLink(GoogleAdsLink.newBuilder().build())
* .build();
* ApiFuture future =
@@ -4628,7 +4543,7 @@ public final ListGoogleAdsLinksPagedResponse listGoogleAdsLinks(PropertyName par
* {@code
* try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
* AnalyticsAdminServiceClient.create()) {
- * String parent = GoogleAdsLinkName.of("[PROPERTY]", "[GOOGLE_ADS_LINK]").toString();
+ * String parent = PropertyName.of("[PROPERTY]").toString();
* for (GoogleAdsLink element :
* analyticsAdminServiceClient.listGoogleAdsLinks(parent).iterateAll()) {
* // doThingsWith(element);
@@ -4656,7 +4571,7 @@ public final ListGoogleAdsLinksPagedResponse listGoogleAdsLinks(String parent) {
* AnalyticsAdminServiceClient.create()) {
* ListGoogleAdsLinksRequest request =
* ListGoogleAdsLinksRequest.newBuilder()
- * .setParent(GoogleAdsLinkName.of("[PROPERTY]", "[GOOGLE_ADS_LINK]").toString())
+ * .setParent(PropertyName.of("[PROPERTY]").toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .build();
@@ -4686,7 +4601,7 @@ public final ListGoogleAdsLinksPagedResponse listGoogleAdsLinks(
* AnalyticsAdminServiceClient.create()) {
* ListGoogleAdsLinksRequest request =
* ListGoogleAdsLinksRequest.newBuilder()
- * .setParent(GoogleAdsLinkName.of("[PROPERTY]", "[GOOGLE_ADS_LINK]").toString())
+ * .setParent(PropertyName.of("[PROPERTY]").toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .build();
@@ -4715,7 +4630,7 @@ public final ListGoogleAdsLinksPagedResponse listGoogleAdsLinks(
* AnalyticsAdminServiceClient.create()) {
* ListGoogleAdsLinksRequest request =
* ListGoogleAdsLinksRequest.newBuilder()
- * .setParent(GoogleAdsLinkName.of("[PROPERTY]", "[GOOGLE_ADS_LINK]").toString())
+ * .setParent(PropertyName.of("[PROPERTY]").toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .build();
@@ -4998,10 +4913,7 @@ public final ListMeasurementProtocolSecretsPagedResponse listMeasurementProtocol
* {@code
* try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
* AnalyticsAdminServiceClient.create()) {
- * String parent =
- * MeasurementProtocolSecretName.of(
- * "[PROPERTY]", "[WEB_DATA_STREAM]", "[MEASUREMENT_PROTOCOL_SECRET]")
- * .toString();
+ * String parent = WebDataStreamName.of("[PROPERTY]", "[WEB_DATA_STREAM]").toString();
* for (MeasurementProtocolSecret element :
* analyticsAdminServiceClient.listMeasurementProtocolSecrets(parent).iterateAll()) {
* // doThingsWith(element);
@@ -5032,10 +4944,7 @@ public final ListMeasurementProtocolSecretsPagedResponse listMeasurementProtocol
* AnalyticsAdminServiceClient.create()) {
* ListMeasurementProtocolSecretsRequest request =
* ListMeasurementProtocolSecretsRequest.newBuilder()
- * .setParent(
- * MeasurementProtocolSecretName.of(
- * "[PROPERTY]", "[WEB_DATA_STREAM]", "[MEASUREMENT_PROTOCOL_SECRET]")
- * .toString())
+ * .setParent(WebDataStreamName.of("[PROPERTY]", "[WEB_DATA_STREAM]").toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .build();
@@ -5065,10 +4974,7 @@ public final ListMeasurementProtocolSecretsPagedResponse listMeasurementProtocol
* AnalyticsAdminServiceClient.create()) {
* ListMeasurementProtocolSecretsRequest request =
* ListMeasurementProtocolSecretsRequest.newBuilder()
- * .setParent(
- * MeasurementProtocolSecretName.of(
- * "[PROPERTY]", "[WEB_DATA_STREAM]", "[MEASUREMENT_PROTOCOL_SECRET]")
- * .toString())
+ * .setParent(WebDataStreamName.of("[PROPERTY]", "[WEB_DATA_STREAM]").toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .build();
@@ -5100,10 +5006,7 @@ public final ListMeasurementProtocolSecretsPagedResponse listMeasurementProtocol
* AnalyticsAdminServiceClient.create()) {
* ListMeasurementProtocolSecretsRequest request =
* ListMeasurementProtocolSecretsRequest.newBuilder()
- * .setParent(
- * MeasurementProtocolSecretName.of(
- * "[PROPERTY]", "[WEB_DATA_STREAM]", "[MEASUREMENT_PROTOCOL_SECRET]")
- * .toString())
+ * .setParent(WebDataStreamName.of("[PROPERTY]", "[WEB_DATA_STREAM]").toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .build();
@@ -5172,10 +5075,7 @@ public final MeasurementProtocolSecret createMeasurementProtocolSecret(
* {@code
* try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
* AnalyticsAdminServiceClient.create()) {
- * String parent =
- * MeasurementProtocolSecretName.of(
- * "[PROPERTY]", "[WEB_DATA_STREAM]", "[MEASUREMENT_PROTOCOL_SECRET]")
- * .toString();
+ * String parent = WebDataStreamName.of("[PROPERTY]", "[WEB_DATA_STREAM]").toString();
* MeasurementProtocolSecret measurementProtocolSecret =
* MeasurementProtocolSecret.newBuilder().build();
* MeasurementProtocolSecret response =
@@ -5211,10 +5111,7 @@ public final MeasurementProtocolSecret createMeasurementProtocolSecret(
* AnalyticsAdminServiceClient.create()) {
* CreateMeasurementProtocolSecretRequest request =
* CreateMeasurementProtocolSecretRequest.newBuilder()
- * .setParent(
- * MeasurementProtocolSecretName.of(
- * "[PROPERTY]", "[WEB_DATA_STREAM]", "[MEASUREMENT_PROTOCOL_SECRET]")
- * .toString())
+ * .setParent(WebDataStreamName.of("[PROPERTY]", "[WEB_DATA_STREAM]").toString())
* .setMeasurementProtocolSecret(MeasurementProtocolSecret.newBuilder().build())
* .build();
* MeasurementProtocolSecret response =
@@ -5241,10 +5138,7 @@ public final MeasurementProtocolSecret createMeasurementProtocolSecret(
* AnalyticsAdminServiceClient.create()) {
* CreateMeasurementProtocolSecretRequest request =
* CreateMeasurementProtocolSecretRequest.newBuilder()
- * .setParent(
- * MeasurementProtocolSecretName.of(
- * "[PROPERTY]", "[WEB_DATA_STREAM]", "[MEASUREMENT_PROTOCOL_SECRET]")
- * .toString())
+ * .setParent(WebDataStreamName.of("[PROPERTY]", "[WEB_DATA_STREAM]").toString())
* .setMeasurementProtocolSecret(MeasurementProtocolSecret.newBuilder().build())
* .build();
* ApiFuture future =
@@ -5801,7 +5695,7 @@ public final ConversionEvent createConversionEvent(
* {@code
* try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
* AnalyticsAdminServiceClient.create()) {
- * String parent = ConversionEventName.of("[PROPERTY]", "[CONVERSION_EVENT]").toString();
+ * String parent = PropertyName.of("[PROPERTY]").toString();
* ConversionEvent conversionEvent = ConversionEvent.newBuilder().build();
* ConversionEvent response =
* analyticsAdminServiceClient.createConversionEvent(parent, conversionEvent);
@@ -5835,7 +5729,7 @@ public final ConversionEvent createConversionEvent(
* CreateConversionEventRequest request =
* CreateConversionEventRequest.newBuilder()
* .setConversionEvent(ConversionEvent.newBuilder().build())
- * .setParent(ConversionEventName.of("[PROPERTY]", "[CONVERSION_EVENT]").toString())
+ * .setParent(PropertyName.of("[PROPERTY]").toString())
* .build();
* ConversionEvent response = analyticsAdminServiceClient.createConversionEvent(request);
* }
@@ -5860,7 +5754,7 @@ public final ConversionEvent createConversionEvent(CreateConversionEventRequest
* CreateConversionEventRequest request =
* CreateConversionEventRequest.newBuilder()
* .setConversionEvent(ConversionEvent.newBuilder().build())
- * .setParent(ConversionEventName.of("[PROPERTY]", "[CONVERSION_EVENT]").toString())
+ * .setParent(PropertyName.of("[PROPERTY]").toString())
* .build();
* ApiFuture future =
* analyticsAdminServiceClient.createConversionEventCallable().futureCall(request);
@@ -6116,7 +6010,7 @@ public final ListConversionEventsPagedResponse listConversionEvents(PropertyName
* {@code
* try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
* AnalyticsAdminServiceClient.create()) {
- * String parent = ConversionEventName.of("[PROPERTY]", "[CONVERSION_EVENT]").toString();
+ * String parent = PropertyName.of("[PROPERTY]").toString();
* for (ConversionEvent element :
* analyticsAdminServiceClient.listConversionEvents(parent).iterateAll()) {
* // doThingsWith(element);
@@ -6146,7 +6040,7 @@ public final ListConversionEventsPagedResponse listConversionEvents(String paren
* AnalyticsAdminServiceClient.create()) {
* ListConversionEventsRequest request =
* ListConversionEventsRequest.newBuilder()
- * .setParent(ConversionEventName.of("[PROPERTY]", "[CONVERSION_EVENT]").toString())
+ * .setParent(PropertyName.of("[PROPERTY]").toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .build();
@@ -6178,7 +6072,7 @@ public final ListConversionEventsPagedResponse listConversionEvents(
* AnalyticsAdminServiceClient.create()) {
* ListConversionEventsRequest request =
* ListConversionEventsRequest.newBuilder()
- * .setParent(ConversionEventName.of("[PROPERTY]", "[CONVERSION_EVENT]").toString())
+ * .setParent(PropertyName.of("[PROPERTY]").toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .build();
@@ -6209,7 +6103,7 @@ public final ListConversionEventsPagedResponse listConversionEvents(
* AnalyticsAdminServiceClient.create()) {
* ListConversionEventsRequest request =
* ListConversionEventsRequest.newBuilder()
- * .setParent(ConversionEventName.of("[PROPERTY]", "[CONVERSION_EVENT]").toString())
+ * .setParent(PropertyName.of("[PROPERTY]").toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .build();
@@ -6236,264 +6130,1524 @@ public final ListConversionEventsPagedResponse listConversionEvents(
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * Creates a CustomDimension.
+ * Look up a single DisplayVideo360AdvertiserLink
*
* Sample code:
*
*
{@code
* try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
* AnalyticsAdminServiceClient.create()) {
- * PropertyName parent = PropertyName.of("[PROPERTY]");
- * CustomDimension customDimension = CustomDimension.newBuilder().build();
- * CustomDimension response =
- * analyticsAdminServiceClient.createCustomDimension(parent, customDimension);
+ * DisplayVideo360AdvertiserLinkName name =
+ * DisplayVideo360AdvertiserLinkName.of("[PROPERTY]", "[DISPLAY_VIDEO_360_ADVERTISER_LINK]");
+ * DisplayVideo360AdvertiserLink response =
+ * analyticsAdminServiceClient.getDisplayVideo360AdvertiserLink(name);
* }
* }
*
- * @param parent Required. Example format: properties/1234
- * @param customDimension Required. The CustomDimension to create.
+ * @param name Required. The name of the DisplayVideo360AdvertiserLink to get. Example format:
+ * properties/1234/displayVideo360AdvertiserLink/5678
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
- public final CustomDimension createCustomDimension(
- PropertyName parent, CustomDimension customDimension) {
- CreateCustomDimensionRequest request =
- CreateCustomDimensionRequest.newBuilder()
- .setParent(parent == null ? null : parent.toString())
- .setCustomDimension(customDimension)
+ public final DisplayVideo360AdvertiserLink getDisplayVideo360AdvertiserLink(
+ DisplayVideo360AdvertiserLinkName name) {
+ GetDisplayVideo360AdvertiserLinkRequest request =
+ GetDisplayVideo360AdvertiserLinkRequest.newBuilder()
+ .setName(name == null ? null : name.toString())
.build();
- return createCustomDimension(request);
+ return getDisplayVideo360AdvertiserLink(request);
}
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * Creates a CustomDimension.
+ * Look up a single DisplayVideo360AdvertiserLink
*
* Sample code:
*
*
{@code
* try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
* AnalyticsAdminServiceClient.create()) {
- * String parent = CustomDimensionName.of("[PROPERTY]").toString();
- * CustomDimension customDimension = CustomDimension.newBuilder().build();
- * CustomDimension response =
- * analyticsAdminServiceClient.createCustomDimension(parent, customDimension);
+ * String name =
+ * DisplayVideo360AdvertiserLinkName.of("[PROPERTY]", "[DISPLAY_VIDEO_360_ADVERTISER_LINK]")
+ * .toString();
+ * DisplayVideo360AdvertiserLink response =
+ * analyticsAdminServiceClient.getDisplayVideo360AdvertiserLink(name);
* }
* }
*
- * @param parent Required. Example format: properties/1234
- * @param customDimension Required. The CustomDimension to create.
+ * @param name Required. The name of the DisplayVideo360AdvertiserLink to get. Example format:
+ * properties/1234/displayVideo360AdvertiserLink/5678
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
- public final CustomDimension createCustomDimension(
- String parent, CustomDimension customDimension) {
- CreateCustomDimensionRequest request =
- CreateCustomDimensionRequest.newBuilder()
- .setParent(parent)
- .setCustomDimension(customDimension)
- .build();
- return createCustomDimension(request);
+ public final DisplayVideo360AdvertiserLink getDisplayVideo360AdvertiserLink(String name) {
+ GetDisplayVideo360AdvertiserLinkRequest request =
+ GetDisplayVideo360AdvertiserLinkRequest.newBuilder().setName(name).build();
+ return getDisplayVideo360AdvertiserLink(request);
}
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * Creates a CustomDimension.
+ * Look up a single DisplayVideo360AdvertiserLink
*
* Sample code:
*
*
{@code
* try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
* AnalyticsAdminServiceClient.create()) {
- * CreateCustomDimensionRequest request =
- * CreateCustomDimensionRequest.newBuilder()
- * .setParent(CustomDimensionName.of("[PROPERTY]").toString())
- * .setCustomDimension(CustomDimension.newBuilder().build())
+ * GetDisplayVideo360AdvertiserLinkRequest request =
+ * GetDisplayVideo360AdvertiserLinkRequest.newBuilder()
+ * .setName(
+ * DisplayVideo360AdvertiserLinkName.of(
+ * "[PROPERTY]", "[DISPLAY_VIDEO_360_ADVERTISER_LINK]")
+ * .toString())
* .build();
- * CustomDimension response = analyticsAdminServiceClient.createCustomDimension(request);
+ * DisplayVideo360AdvertiserLink response =
+ * analyticsAdminServiceClient.getDisplayVideo360AdvertiserLink(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 CustomDimension createCustomDimension(CreateCustomDimensionRequest request) {
- return createCustomDimensionCallable().call(request);
+ public final DisplayVideo360AdvertiserLink getDisplayVideo360AdvertiserLink(
+ GetDisplayVideo360AdvertiserLinkRequest request) {
+ return getDisplayVideo360AdvertiserLinkCallable().call(request);
}
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * Creates a CustomDimension.
+ * Look up a single DisplayVideo360AdvertiserLink
*
* Sample code:
*
*
{@code
* try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
* AnalyticsAdminServiceClient.create()) {
- * CreateCustomDimensionRequest request =
- * CreateCustomDimensionRequest.newBuilder()
- * .setParent(CustomDimensionName.of("[PROPERTY]").toString())
- * .setCustomDimension(CustomDimension.newBuilder().build())
+ * GetDisplayVideo360AdvertiserLinkRequest request =
+ * GetDisplayVideo360AdvertiserLinkRequest.newBuilder()
+ * .setName(
+ * DisplayVideo360AdvertiserLinkName.of(
+ * "[PROPERTY]", "[DISPLAY_VIDEO_360_ADVERTISER_LINK]")
+ * .toString())
* .build();
- * ApiFuture future =
- * analyticsAdminServiceClient.createCustomDimensionCallable().futureCall(request);
+ * ApiFuture future =
+ * analyticsAdminServiceClient
+ * .getDisplayVideo360AdvertiserLinkCallable()
+ * .futureCall(request);
* // Do something.
- * CustomDimension response = future.get();
+ * DisplayVideo360AdvertiserLink response = future.get();
* }
* }
*/
- public final UnaryCallable
- createCustomDimensionCallable() {
- return stub.createCustomDimensionCallable();
+ public final UnaryCallable
+ getDisplayVideo360AdvertiserLinkCallable() {
+ return stub.getDisplayVideo360AdvertiserLinkCallable();
}
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * Updates a CustomDimension on a property.
+ * Lists all DisplayVideo360AdvertiserLinks on a property.
*
* Sample code:
*
*
{@code
* try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
* AnalyticsAdminServiceClient.create()) {
- * CustomDimension customDimension = CustomDimension.newBuilder().build();
- * FieldMask updateMask = FieldMask.newBuilder().build();
- * CustomDimension response =
- * analyticsAdminServiceClient.updateCustomDimension(customDimension, updateMask);
+ * PropertyName parent = PropertyName.of("[PROPERTY]");
+ * for (DisplayVideo360AdvertiserLink element :
+ * analyticsAdminServiceClient.listDisplayVideo360AdvertiserLinks(parent).iterateAll()) {
+ * // doThingsWith(element);
+ * }
* }
* }
*
- * @param customDimension The CustomDimension to update
- * @param updateMask Required. The list of fields to be updated. Omitted fields will not be
- * updated. To replace the entire entity, use one path with the string "*" to match all
- * fields.
+ * @param parent Required. Example format: properties/1234
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
- public final CustomDimension updateCustomDimension(
- CustomDimension customDimension, FieldMask updateMask) {
- UpdateCustomDimensionRequest request =
- UpdateCustomDimensionRequest.newBuilder()
- .setCustomDimension(customDimension)
- .setUpdateMask(updateMask)
+ public final ListDisplayVideo360AdvertiserLinksPagedResponse listDisplayVideo360AdvertiserLinks(
+ PropertyName parent) {
+ ListDisplayVideo360AdvertiserLinksRequest request =
+ ListDisplayVideo360AdvertiserLinksRequest.newBuilder()
+ .setParent(parent == null ? null : parent.toString())
.build();
- return updateCustomDimension(request);
+ return listDisplayVideo360AdvertiserLinks(request);
}
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * Updates a CustomDimension on a property.
+ * Lists all DisplayVideo360AdvertiserLinks on a property.
*
* Sample code:
*
*
{@code
* try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
* AnalyticsAdminServiceClient.create()) {
- * UpdateCustomDimensionRequest request =
- * UpdateCustomDimensionRequest.newBuilder()
- * .setCustomDimension(CustomDimension.newBuilder().build())
- * .setUpdateMask(FieldMask.newBuilder().build())
- * .build();
- * CustomDimension response = analyticsAdminServiceClient.updateCustomDimension(request);
+ * String parent = PropertyName.of("[PROPERTY]").toString();
+ * for (DisplayVideo360AdvertiserLink element :
+ * analyticsAdminServiceClient.listDisplayVideo360AdvertiserLinks(parent).iterateAll()) {
+ * // doThingsWith(element);
+ * }
* }
* }
*
- * @param request The request object containing all of the parameters for the API call.
+ * @param parent Required. Example format: properties/1234
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
- public final CustomDimension updateCustomDimension(UpdateCustomDimensionRequest request) {
- return updateCustomDimensionCallable().call(request);
+ public final ListDisplayVideo360AdvertiserLinksPagedResponse listDisplayVideo360AdvertiserLinks(
+ String parent) {
+ ListDisplayVideo360AdvertiserLinksRequest request =
+ ListDisplayVideo360AdvertiserLinksRequest.newBuilder().setParent(parent).build();
+ return listDisplayVideo360AdvertiserLinks(request);
}
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * Updates a CustomDimension on a property.
+ * Lists all DisplayVideo360AdvertiserLinks on a property.
*
* Sample code:
*
*
{@code
* try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
* AnalyticsAdminServiceClient.create()) {
- * UpdateCustomDimensionRequest request =
- * UpdateCustomDimensionRequest.newBuilder()
- * .setCustomDimension(CustomDimension.newBuilder().build())
- * .setUpdateMask(FieldMask.newBuilder().build())
+ * ListDisplayVideo360AdvertiserLinksRequest request =
+ * ListDisplayVideo360AdvertiserLinksRequest.newBuilder()
+ * .setParent(PropertyName.of("[PROPERTY]").toString())
+ * .setPageSize(883849137)
+ * .setPageToken("pageToken873572522")
* .build();
- * ApiFuture future =
- * analyticsAdminServiceClient.updateCustomDimensionCallable().futureCall(request);
- * // Do something.
- * CustomDimension response = future.get();
+ * for (DisplayVideo360AdvertiserLink element :
+ * analyticsAdminServiceClient.listDisplayVideo360AdvertiserLinks(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 UnaryCallable
- updateCustomDimensionCallable() {
- return stub.updateCustomDimensionCallable();
+ public final ListDisplayVideo360AdvertiserLinksPagedResponse listDisplayVideo360AdvertiserLinks(
+ ListDisplayVideo360AdvertiserLinksRequest request) {
+ return listDisplayVideo360AdvertiserLinksPagedCallable().call(request);
}
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * Lists CustomDimensions on a property.
+ * Lists all DisplayVideo360AdvertiserLinks on a property.
*
* Sample code:
*
*
{@code
* try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
* AnalyticsAdminServiceClient.create()) {
- * PropertyName parent = PropertyName.of("[PROPERTY]");
- * for (CustomDimension element :
- * analyticsAdminServiceClient.listCustomDimensions(parent).iterateAll()) {
+ * ListDisplayVideo360AdvertiserLinksRequest request =
+ * ListDisplayVideo360AdvertiserLinksRequest.newBuilder()
+ * .setParent(PropertyName.of("[PROPERTY]").toString())
+ * .setPageSize(883849137)
+ * .setPageToken("pageToken873572522")
+ * .build();
+ * ApiFuture future =
+ * analyticsAdminServiceClient
+ * .listDisplayVideo360AdvertiserLinksPagedCallable()
+ * .futureCall(request);
+ * // Do something.
+ * for (DisplayVideo360AdvertiserLink element : future.get().iterateAll()) {
* // doThingsWith(element);
* }
* }
* }
- *
- * @param parent Required. Example format: properties/1234
- * @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
- public final ListCustomDimensionsPagedResponse listCustomDimensions(PropertyName parent) {
- ListCustomDimensionsRequest request =
- ListCustomDimensionsRequest.newBuilder()
- .setParent(parent == null ? null : parent.toString())
- .build();
- return listCustomDimensions(request);
+ public final UnaryCallable<
+ ListDisplayVideo360AdvertiserLinksRequest,
+ ListDisplayVideo360AdvertiserLinksPagedResponse>
+ listDisplayVideo360AdvertiserLinksPagedCallable() {
+ return stub.listDisplayVideo360AdvertiserLinksPagedCallable();
}
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * Lists CustomDimensions on a property.
+ * Lists all DisplayVideo360AdvertiserLinks on a property.
*
* Sample code:
*
*
{@code
* try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
* AnalyticsAdminServiceClient.create()) {
- * String parent = CustomDimensionName.of("[PROPERTY]").toString();
- * for (CustomDimension element :
- * analyticsAdminServiceClient.listCustomDimensions(parent).iterateAll()) {
- * // doThingsWith(element);
+ * ListDisplayVideo360AdvertiserLinksRequest request =
+ * ListDisplayVideo360AdvertiserLinksRequest.newBuilder()
+ * .setParent(PropertyName.of("[PROPERTY]").toString())
+ * .setPageSize(883849137)
+ * .setPageToken("pageToken873572522")
+ * .build();
+ * while (true) {
+ * ListDisplayVideo360AdvertiserLinksResponse response =
+ * analyticsAdminServiceClient.listDisplayVideo360AdvertiserLinksCallable().call(request);
+ * for (DisplayVideo360AdvertiserLink element : response.getResponsesList()) {
+ * // doThingsWith(element);
+ * }
+ * String nextPageToken = response.getNextPageToken();
+ * if (!Strings.isNullOrEmpty(nextPageToken)) {
+ * request = request.toBuilder().setPageToken(nextPageToken).build();
+ * } else {
+ * break;
+ * }
* }
* }
* }
- *
- * @param parent Required. Example format: properties/1234
- * @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
- public final ListCustomDimensionsPagedResponse listCustomDimensions(String parent) {
- ListCustomDimensionsRequest request =
- ListCustomDimensionsRequest.newBuilder().setParent(parent).build();
- return listCustomDimensions(request);
+ public final UnaryCallable<
+ ListDisplayVideo360AdvertiserLinksRequest, ListDisplayVideo360AdvertiserLinksResponse>
+ listDisplayVideo360AdvertiserLinksCallable() {
+ return stub.listDisplayVideo360AdvertiserLinksCallable();
}
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * Lists CustomDimensions on a property.
+ * Creates a DisplayVideo360AdvertiserLink. This can only be utilized by users who have proper
+ * authorization both on the Google Analytics property and on the Display & Video 360
+ * advertiser. Users who do not have access to the Display & Video 360 advertiser should
+ * instead seek to create a DisplayVideo360LinkProposal.
*
* Sample code:
*
*
{@code
* try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
* AnalyticsAdminServiceClient.create()) {
- * ListCustomDimensionsRequest request =
- * ListCustomDimensionsRequest.newBuilder()
- * .setParent(CustomDimensionName.of("[PROPERTY]").toString())
+ * PropertyName parent = PropertyName.of("[PROPERTY]");
+ * DisplayVideo360AdvertiserLink displayVideo360AdvertiserLink =
+ * DisplayVideo360AdvertiserLink.newBuilder().build();
+ * DisplayVideo360AdvertiserLink response =
+ * analyticsAdminServiceClient.createDisplayVideo360AdvertiserLink(
+ * parent, displayVideo360AdvertiserLink);
+ * }
+ * }
+ *
+ * @param parent Required. Example format: properties/1234
+ * @param displayVideo360AdvertiserLink Required. The DisplayVideo360AdvertiserLink to create.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final DisplayVideo360AdvertiserLink createDisplayVideo360AdvertiserLink(
+ PropertyName parent, DisplayVideo360AdvertiserLink displayVideo360AdvertiserLink) {
+ CreateDisplayVideo360AdvertiserLinkRequest request =
+ CreateDisplayVideo360AdvertiserLinkRequest.newBuilder()
+ .setParent(parent == null ? null : parent.toString())
+ .setDisplayVideo360AdvertiserLink(displayVideo360AdvertiserLink)
+ .build();
+ return createDisplayVideo360AdvertiserLink(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Creates a DisplayVideo360AdvertiserLink. This can only be utilized by users who have proper
+ * authorization both on the Google Analytics property and on the Display & Video 360
+ * advertiser. Users who do not have access to the Display & Video 360 advertiser should
+ * instead seek to create a DisplayVideo360LinkProposal.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+ * AnalyticsAdminServiceClient.create()) {
+ * String parent = PropertyName.of("[PROPERTY]").toString();
+ * DisplayVideo360AdvertiserLink displayVideo360AdvertiserLink =
+ * DisplayVideo360AdvertiserLink.newBuilder().build();
+ * DisplayVideo360AdvertiserLink response =
+ * analyticsAdminServiceClient.createDisplayVideo360AdvertiserLink(
+ * parent, displayVideo360AdvertiserLink);
+ * }
+ * }
+ *
+ * @param parent Required. Example format: properties/1234
+ * @param displayVideo360AdvertiserLink Required. The DisplayVideo360AdvertiserLink to create.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final DisplayVideo360AdvertiserLink createDisplayVideo360AdvertiserLink(
+ String parent, DisplayVideo360AdvertiserLink displayVideo360AdvertiserLink) {
+ CreateDisplayVideo360AdvertiserLinkRequest request =
+ CreateDisplayVideo360AdvertiserLinkRequest.newBuilder()
+ .setParent(parent)
+ .setDisplayVideo360AdvertiserLink(displayVideo360AdvertiserLink)
+ .build();
+ return createDisplayVideo360AdvertiserLink(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Creates a DisplayVideo360AdvertiserLink. This can only be utilized by users who have proper
+ * authorization both on the Google Analytics property and on the Display & Video 360
+ * advertiser. Users who do not have access to the Display & Video 360 advertiser should
+ * instead seek to create a DisplayVideo360LinkProposal.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+ * AnalyticsAdminServiceClient.create()) {
+ * CreateDisplayVideo360AdvertiserLinkRequest request =
+ * CreateDisplayVideo360AdvertiserLinkRequest.newBuilder()
+ * .setParent(PropertyName.of("[PROPERTY]").toString())
+ * .setDisplayVideo360AdvertiserLink(DisplayVideo360AdvertiserLink.newBuilder().build())
+ * .build();
+ * DisplayVideo360AdvertiserLink response =
+ * analyticsAdminServiceClient.createDisplayVideo360AdvertiserLink(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 DisplayVideo360AdvertiserLink createDisplayVideo360AdvertiserLink(
+ CreateDisplayVideo360AdvertiserLinkRequest request) {
+ return createDisplayVideo360AdvertiserLinkCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Creates a DisplayVideo360AdvertiserLink. This can only be utilized by users who have proper
+ * authorization both on the Google Analytics property and on the Display & Video 360
+ * advertiser. Users who do not have access to the Display & Video 360 advertiser should
+ * instead seek to create a DisplayVideo360LinkProposal.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+ * AnalyticsAdminServiceClient.create()) {
+ * CreateDisplayVideo360AdvertiserLinkRequest request =
+ * CreateDisplayVideo360AdvertiserLinkRequest.newBuilder()
+ * .setParent(PropertyName.of("[PROPERTY]").toString())
+ * .setDisplayVideo360AdvertiserLink(DisplayVideo360AdvertiserLink.newBuilder().build())
+ * .build();
+ * ApiFuture future =
+ * analyticsAdminServiceClient
+ * .createDisplayVideo360AdvertiserLinkCallable()
+ * .futureCall(request);
+ * // Do something.
+ * DisplayVideo360AdvertiserLink response = future.get();
+ * }
+ * }
+ */
+ public final UnaryCallable<
+ CreateDisplayVideo360AdvertiserLinkRequest, DisplayVideo360AdvertiserLink>
+ createDisplayVideo360AdvertiserLinkCallable() {
+ return stub.createDisplayVideo360AdvertiserLinkCallable();
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Deletes a DisplayVideo360AdvertiserLink on a property.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+ * AnalyticsAdminServiceClient.create()) {
+ * DisplayVideo360AdvertiserLinkName name =
+ * DisplayVideo360AdvertiserLinkName.of("[PROPERTY]", "[DISPLAY_VIDEO_360_ADVERTISER_LINK]");
+ * analyticsAdminServiceClient.deleteDisplayVideo360AdvertiserLink(name);
+ * }
+ * }
+ *
+ * @param name Required. The name of the DisplayVideo360AdvertiserLink to delete. Example format:
+ * properties/1234/displayVideo360AdvertiserLinks/5678
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final void deleteDisplayVideo360AdvertiserLink(DisplayVideo360AdvertiserLinkName name) {
+ DeleteDisplayVideo360AdvertiserLinkRequest request =
+ DeleteDisplayVideo360AdvertiserLinkRequest.newBuilder()
+ .setName(name == null ? null : name.toString())
+ .build();
+ deleteDisplayVideo360AdvertiserLink(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Deletes a DisplayVideo360AdvertiserLink on a property.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+ * AnalyticsAdminServiceClient.create()) {
+ * String name =
+ * DisplayVideo360AdvertiserLinkName.of("[PROPERTY]", "[DISPLAY_VIDEO_360_ADVERTISER_LINK]")
+ * .toString();
+ * analyticsAdminServiceClient.deleteDisplayVideo360AdvertiserLink(name);
+ * }
+ * }
+ *
+ * @param name Required. The name of the DisplayVideo360AdvertiserLink to delete. Example format:
+ * properties/1234/displayVideo360AdvertiserLinks/5678
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final void deleteDisplayVideo360AdvertiserLink(String name) {
+ DeleteDisplayVideo360AdvertiserLinkRequest request =
+ DeleteDisplayVideo360AdvertiserLinkRequest.newBuilder().setName(name).build();
+ deleteDisplayVideo360AdvertiserLink(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Deletes a DisplayVideo360AdvertiserLink on a property.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+ * AnalyticsAdminServiceClient.create()) {
+ * DeleteDisplayVideo360AdvertiserLinkRequest request =
+ * DeleteDisplayVideo360AdvertiserLinkRequest.newBuilder()
+ * .setName(
+ * DisplayVideo360AdvertiserLinkName.of(
+ * "[PROPERTY]", "[DISPLAY_VIDEO_360_ADVERTISER_LINK]")
+ * .toString())
+ * .build();
+ * analyticsAdminServiceClient.deleteDisplayVideo360AdvertiserLink(request);
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final void deleteDisplayVideo360AdvertiserLink(
+ DeleteDisplayVideo360AdvertiserLinkRequest request) {
+ deleteDisplayVideo360AdvertiserLinkCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Deletes a DisplayVideo360AdvertiserLink on a property.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+ * AnalyticsAdminServiceClient.create()) {
+ * DeleteDisplayVideo360AdvertiserLinkRequest request =
+ * DeleteDisplayVideo360AdvertiserLinkRequest.newBuilder()
+ * .setName(
+ * DisplayVideo360AdvertiserLinkName.of(
+ * "[PROPERTY]", "[DISPLAY_VIDEO_360_ADVERTISER_LINK]")
+ * .toString())
+ * .build();
+ * ApiFuture future =
+ * analyticsAdminServiceClient
+ * .deleteDisplayVideo360AdvertiserLinkCallable()
+ * .futureCall(request);
+ * // Do something.
+ * future.get();
+ * }
+ * }
+ */
+ public final UnaryCallable
+ deleteDisplayVideo360AdvertiserLinkCallable() {
+ return stub.deleteDisplayVideo360AdvertiserLinkCallable();
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Updates a DisplayVideo360AdvertiserLink on a property.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+ * AnalyticsAdminServiceClient.create()) {
+ * DisplayVideo360AdvertiserLink displayVideo360AdvertiserLink =
+ * DisplayVideo360AdvertiserLink.newBuilder().build();
+ * FieldMask updateMask = FieldMask.newBuilder().build();
+ * DisplayVideo360AdvertiserLink response =
+ * analyticsAdminServiceClient.updateDisplayVideo360AdvertiserLink(
+ * displayVideo360AdvertiserLink, updateMask);
+ * }
+ * }
+ *
+ * @param displayVideo360AdvertiserLink The DisplayVideo360AdvertiserLink to update
+ * @param updateMask Required. The list of fields to be updated. Omitted fields will not be
+ * updated. To replace the entire entity, use one path with the string "*" to match all
+ * fields.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final DisplayVideo360AdvertiserLink updateDisplayVideo360AdvertiserLink(
+ DisplayVideo360AdvertiserLink displayVideo360AdvertiserLink, FieldMask updateMask) {
+ UpdateDisplayVideo360AdvertiserLinkRequest request =
+ UpdateDisplayVideo360AdvertiserLinkRequest.newBuilder()
+ .setDisplayVideo360AdvertiserLink(displayVideo360AdvertiserLink)
+ .setUpdateMask(updateMask)
+ .build();
+ return updateDisplayVideo360AdvertiserLink(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Updates a DisplayVideo360AdvertiserLink on a property.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+ * AnalyticsAdminServiceClient.create()) {
+ * UpdateDisplayVideo360AdvertiserLinkRequest request =
+ * UpdateDisplayVideo360AdvertiserLinkRequest.newBuilder()
+ * .setDisplayVideo360AdvertiserLink(DisplayVideo360AdvertiserLink.newBuilder().build())
+ * .setUpdateMask(FieldMask.newBuilder().build())
+ * .build();
+ * DisplayVideo360AdvertiserLink response =
+ * analyticsAdminServiceClient.updateDisplayVideo360AdvertiserLink(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 DisplayVideo360AdvertiserLink updateDisplayVideo360AdvertiserLink(
+ UpdateDisplayVideo360AdvertiserLinkRequest request) {
+ return updateDisplayVideo360AdvertiserLinkCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Updates a DisplayVideo360AdvertiserLink on a property.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+ * AnalyticsAdminServiceClient.create()) {
+ * UpdateDisplayVideo360AdvertiserLinkRequest request =
+ * UpdateDisplayVideo360AdvertiserLinkRequest.newBuilder()
+ * .setDisplayVideo360AdvertiserLink(DisplayVideo360AdvertiserLink.newBuilder().build())
+ * .setUpdateMask(FieldMask.newBuilder().build())
+ * .build();
+ * ApiFuture future =
+ * analyticsAdminServiceClient
+ * .updateDisplayVideo360AdvertiserLinkCallable()
+ * .futureCall(request);
+ * // Do something.
+ * DisplayVideo360AdvertiserLink response = future.get();
+ * }
+ * }
+ */
+ public final UnaryCallable<
+ UpdateDisplayVideo360AdvertiserLinkRequest, DisplayVideo360AdvertiserLink>
+ updateDisplayVideo360AdvertiserLinkCallable() {
+ return stub.updateDisplayVideo360AdvertiserLinkCallable();
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Lookup for a single DisplayVideo360AdvertiserLinkProposal.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+ * AnalyticsAdminServiceClient.create()) {
+ * DisplayVideo360AdvertiserLinkProposalName name =
+ * DisplayVideo360AdvertiserLinkProposalName.of(
+ * "[PROPERTY]", "[DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL]");
+ * DisplayVideo360AdvertiserLinkProposal response =
+ * analyticsAdminServiceClient.getDisplayVideo360AdvertiserLinkProposal(name);
+ * }
+ * }
+ *
+ * @param name Required. The name of the DisplayVideo360AdvertiserLinkProposal to get. Example
+ * format: properties/1234/displayVideo360AdvertiserLinkProposals/5678
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final DisplayVideo360AdvertiserLinkProposal getDisplayVideo360AdvertiserLinkProposal(
+ DisplayVideo360AdvertiserLinkProposalName name) {
+ GetDisplayVideo360AdvertiserLinkProposalRequest request =
+ GetDisplayVideo360AdvertiserLinkProposalRequest.newBuilder()
+ .setName(name == null ? null : name.toString())
+ .build();
+ return getDisplayVideo360AdvertiserLinkProposal(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Lookup for a single DisplayVideo360AdvertiserLinkProposal.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+ * AnalyticsAdminServiceClient.create()) {
+ * String name =
+ * DisplayVideo360AdvertiserLinkProposalName.of(
+ * "[PROPERTY]", "[DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL]")
+ * .toString();
+ * DisplayVideo360AdvertiserLinkProposal response =
+ * analyticsAdminServiceClient.getDisplayVideo360AdvertiserLinkProposal(name);
+ * }
+ * }
+ *
+ * @param name Required. The name of the DisplayVideo360AdvertiserLinkProposal to get. Example
+ * format: properties/1234/displayVideo360AdvertiserLinkProposals/5678
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final DisplayVideo360AdvertiserLinkProposal getDisplayVideo360AdvertiserLinkProposal(
+ String name) {
+ GetDisplayVideo360AdvertiserLinkProposalRequest request =
+ GetDisplayVideo360AdvertiserLinkProposalRequest.newBuilder().setName(name).build();
+ return getDisplayVideo360AdvertiserLinkProposal(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Lookup for a single DisplayVideo360AdvertiserLinkProposal.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+ * AnalyticsAdminServiceClient.create()) {
+ * GetDisplayVideo360AdvertiserLinkProposalRequest request =
+ * GetDisplayVideo360AdvertiserLinkProposalRequest.newBuilder()
+ * .setName(
+ * DisplayVideo360AdvertiserLinkProposalName.of(
+ * "[PROPERTY]", "[DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL]")
+ * .toString())
+ * .build();
+ * DisplayVideo360AdvertiserLinkProposal response =
+ * analyticsAdminServiceClient.getDisplayVideo360AdvertiserLinkProposal(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 DisplayVideo360AdvertiserLinkProposal getDisplayVideo360AdvertiserLinkProposal(
+ GetDisplayVideo360AdvertiserLinkProposalRequest request) {
+ return getDisplayVideo360AdvertiserLinkProposalCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Lookup for a single DisplayVideo360AdvertiserLinkProposal.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+ * AnalyticsAdminServiceClient.create()) {
+ * GetDisplayVideo360AdvertiserLinkProposalRequest request =
+ * GetDisplayVideo360AdvertiserLinkProposalRequest.newBuilder()
+ * .setName(
+ * DisplayVideo360AdvertiserLinkProposalName.of(
+ * "[PROPERTY]", "[DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL]")
+ * .toString())
+ * .build();
+ * ApiFuture future =
+ * analyticsAdminServiceClient
+ * .getDisplayVideo360AdvertiserLinkProposalCallable()
+ * .futureCall(request);
+ * // Do something.
+ * DisplayVideo360AdvertiserLinkProposal response = future.get();
+ * }
+ * }
+ */
+ public final UnaryCallable<
+ GetDisplayVideo360AdvertiserLinkProposalRequest, DisplayVideo360AdvertiserLinkProposal>
+ getDisplayVideo360AdvertiserLinkProposalCallable() {
+ return stub.getDisplayVideo360AdvertiserLinkProposalCallable();
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Lists DisplayVideo360AdvertiserLinkProposals on a property.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+ * AnalyticsAdminServiceClient.create()) {
+ * PropertyName parent = PropertyName.of("[PROPERTY]");
+ * for (DisplayVideo360AdvertiserLinkProposal element :
+ * analyticsAdminServiceClient
+ * .listDisplayVideo360AdvertiserLinkProposals(parent)
+ * .iterateAll()) {
+ * // doThingsWith(element);
+ * }
+ * }
+ * }
+ *
+ * @param parent Required. Example format: properties/1234
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final ListDisplayVideo360AdvertiserLinkProposalsPagedResponse
+ listDisplayVideo360AdvertiserLinkProposals(PropertyName parent) {
+ ListDisplayVideo360AdvertiserLinkProposalsRequest request =
+ ListDisplayVideo360AdvertiserLinkProposalsRequest.newBuilder()
+ .setParent(parent == null ? null : parent.toString())
+ .build();
+ return listDisplayVideo360AdvertiserLinkProposals(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Lists DisplayVideo360AdvertiserLinkProposals on a property.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+ * AnalyticsAdminServiceClient.create()) {
+ * String parent = PropertyName.of("[PROPERTY]").toString();
+ * for (DisplayVideo360AdvertiserLinkProposal element :
+ * analyticsAdminServiceClient
+ * .listDisplayVideo360AdvertiserLinkProposals(parent)
+ * .iterateAll()) {
+ * // doThingsWith(element);
+ * }
+ * }
+ * }
+ *
+ * @param parent Required. Example format: properties/1234
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final ListDisplayVideo360AdvertiserLinkProposalsPagedResponse
+ listDisplayVideo360AdvertiserLinkProposals(String parent) {
+ ListDisplayVideo360AdvertiserLinkProposalsRequest request =
+ ListDisplayVideo360AdvertiserLinkProposalsRequest.newBuilder().setParent(parent).build();
+ return listDisplayVideo360AdvertiserLinkProposals(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Lists DisplayVideo360AdvertiserLinkProposals on a property.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+ * AnalyticsAdminServiceClient.create()) {
+ * ListDisplayVideo360AdvertiserLinkProposalsRequest request =
+ * ListDisplayVideo360AdvertiserLinkProposalsRequest.newBuilder()
+ * .setParent(PropertyName.of("[PROPERTY]").toString())
+ * .setPageSize(883849137)
+ * .setPageToken("pageToken873572522")
+ * .build();
+ * for (DisplayVideo360AdvertiserLinkProposal element :
+ * analyticsAdminServiceClient
+ * .listDisplayVideo360AdvertiserLinkProposals(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 ListDisplayVideo360AdvertiserLinkProposalsPagedResponse
+ listDisplayVideo360AdvertiserLinkProposals(
+ ListDisplayVideo360AdvertiserLinkProposalsRequest request) {
+ return listDisplayVideo360AdvertiserLinkProposalsPagedCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Lists DisplayVideo360AdvertiserLinkProposals on a property.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+ * AnalyticsAdminServiceClient.create()) {
+ * ListDisplayVideo360AdvertiserLinkProposalsRequest request =
+ * ListDisplayVideo360AdvertiserLinkProposalsRequest.newBuilder()
+ * .setParent(PropertyName.of("[PROPERTY]").toString())
+ * .setPageSize(883849137)
+ * .setPageToken("pageToken873572522")
+ * .build();
+ * ApiFuture future =
+ * analyticsAdminServiceClient
+ * .listDisplayVideo360AdvertiserLinkProposalsPagedCallable()
+ * .futureCall(request);
+ * // Do something.
+ * for (DisplayVideo360AdvertiserLinkProposal element : future.get().iterateAll()) {
+ * // doThingsWith(element);
+ * }
+ * }
+ * }
+ */
+ public final UnaryCallable<
+ ListDisplayVideo360AdvertiserLinkProposalsRequest,
+ ListDisplayVideo360AdvertiserLinkProposalsPagedResponse>
+ listDisplayVideo360AdvertiserLinkProposalsPagedCallable() {
+ return stub.listDisplayVideo360AdvertiserLinkProposalsPagedCallable();
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Lists DisplayVideo360AdvertiserLinkProposals on a property.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+ * AnalyticsAdminServiceClient.create()) {
+ * ListDisplayVideo360AdvertiserLinkProposalsRequest request =
+ * ListDisplayVideo360AdvertiserLinkProposalsRequest.newBuilder()
+ * .setParent(PropertyName.of("[PROPERTY]").toString())
+ * .setPageSize(883849137)
+ * .setPageToken("pageToken873572522")
+ * .build();
+ * while (true) {
+ * ListDisplayVideo360AdvertiserLinkProposalsResponse response =
+ * analyticsAdminServiceClient
+ * .listDisplayVideo360AdvertiserLinkProposalsCallable()
+ * .call(request);
+ * for (DisplayVideo360AdvertiserLinkProposal element : response.getResponsesList()) {
+ * // doThingsWith(element);
+ * }
+ * String nextPageToken = response.getNextPageToken();
+ * if (!Strings.isNullOrEmpty(nextPageToken)) {
+ * request = request.toBuilder().setPageToken(nextPageToken).build();
+ * } else {
+ * break;
+ * }
+ * }
+ * }
+ * }
+ */
+ public final UnaryCallable<
+ ListDisplayVideo360AdvertiserLinkProposalsRequest,
+ ListDisplayVideo360AdvertiserLinkProposalsResponse>
+ listDisplayVideo360AdvertiserLinkProposalsCallable() {
+ return stub.listDisplayVideo360AdvertiserLinkProposalsCallable();
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Creates a DisplayVideo360AdvertiserLinkProposal.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+ * AnalyticsAdminServiceClient.create()) {
+ * PropertyName parent = PropertyName.of("[PROPERTY]");
+ * DisplayVideo360AdvertiserLinkProposal displayVideo360AdvertiserLinkProposal =
+ * DisplayVideo360AdvertiserLinkProposal.newBuilder().build();
+ * DisplayVideo360AdvertiserLinkProposal response =
+ * analyticsAdminServiceClient.createDisplayVideo360AdvertiserLinkProposal(
+ * parent, displayVideo360AdvertiserLinkProposal);
+ * }
+ * }
+ *
+ * @param parent Required. Example format: properties/1234
+ * @param displayVideo360AdvertiserLinkProposal Required. The
+ * DisplayVideo360AdvertiserLinkProposal to create.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final DisplayVideo360AdvertiserLinkProposal createDisplayVideo360AdvertiserLinkProposal(
+ PropertyName parent,
+ DisplayVideo360AdvertiserLinkProposal displayVideo360AdvertiserLinkProposal) {
+ CreateDisplayVideo360AdvertiserLinkProposalRequest request =
+ CreateDisplayVideo360AdvertiserLinkProposalRequest.newBuilder()
+ .setParent(parent == null ? null : parent.toString())
+ .setDisplayVideo360AdvertiserLinkProposal(displayVideo360AdvertiserLinkProposal)
+ .build();
+ return createDisplayVideo360AdvertiserLinkProposal(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Creates a DisplayVideo360AdvertiserLinkProposal.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+ * AnalyticsAdminServiceClient.create()) {
+ * String parent = PropertyName.of("[PROPERTY]").toString();
+ * DisplayVideo360AdvertiserLinkProposal displayVideo360AdvertiserLinkProposal =
+ * DisplayVideo360AdvertiserLinkProposal.newBuilder().build();
+ * DisplayVideo360AdvertiserLinkProposal response =
+ * analyticsAdminServiceClient.createDisplayVideo360AdvertiserLinkProposal(
+ * parent, displayVideo360AdvertiserLinkProposal);
+ * }
+ * }
+ *
+ * @param parent Required. Example format: properties/1234
+ * @param displayVideo360AdvertiserLinkProposal Required. The
+ * DisplayVideo360AdvertiserLinkProposal to create.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final DisplayVideo360AdvertiserLinkProposal createDisplayVideo360AdvertiserLinkProposal(
+ String parent, DisplayVideo360AdvertiserLinkProposal displayVideo360AdvertiserLinkProposal) {
+ CreateDisplayVideo360AdvertiserLinkProposalRequest request =
+ CreateDisplayVideo360AdvertiserLinkProposalRequest.newBuilder()
+ .setParent(parent)
+ .setDisplayVideo360AdvertiserLinkProposal(displayVideo360AdvertiserLinkProposal)
+ .build();
+ return createDisplayVideo360AdvertiserLinkProposal(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Creates a DisplayVideo360AdvertiserLinkProposal.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+ * AnalyticsAdminServiceClient.create()) {
+ * CreateDisplayVideo360AdvertiserLinkProposalRequest request =
+ * CreateDisplayVideo360AdvertiserLinkProposalRequest.newBuilder()
+ * .setParent(PropertyName.of("[PROPERTY]").toString())
+ * .setDisplayVideo360AdvertiserLinkProposal(
+ * DisplayVideo360AdvertiserLinkProposal.newBuilder().build())
+ * .build();
+ * DisplayVideo360AdvertiserLinkProposal response =
+ * analyticsAdminServiceClient.createDisplayVideo360AdvertiserLinkProposal(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 DisplayVideo360AdvertiserLinkProposal createDisplayVideo360AdvertiserLinkProposal(
+ CreateDisplayVideo360AdvertiserLinkProposalRequest request) {
+ return createDisplayVideo360AdvertiserLinkProposalCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Creates a DisplayVideo360AdvertiserLinkProposal.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+ * AnalyticsAdminServiceClient.create()) {
+ * CreateDisplayVideo360AdvertiserLinkProposalRequest request =
+ * CreateDisplayVideo360AdvertiserLinkProposalRequest.newBuilder()
+ * .setParent(PropertyName.of("[PROPERTY]").toString())
+ * .setDisplayVideo360AdvertiserLinkProposal(
+ * DisplayVideo360AdvertiserLinkProposal.newBuilder().build())
+ * .build();
+ * ApiFuture future =
+ * analyticsAdminServiceClient
+ * .createDisplayVideo360AdvertiserLinkProposalCallable()
+ * .futureCall(request);
+ * // Do something.
+ * DisplayVideo360AdvertiserLinkProposal response = future.get();
+ * }
+ * }
+ */
+ public final UnaryCallable<
+ CreateDisplayVideo360AdvertiserLinkProposalRequest, DisplayVideo360AdvertiserLinkProposal>
+ createDisplayVideo360AdvertiserLinkProposalCallable() {
+ return stub.createDisplayVideo360AdvertiserLinkProposalCallable();
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Deletes a DisplayVideo360AdvertiserLinkProposal on a property. This can only be used on
+ * cancelled proposals.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+ * AnalyticsAdminServiceClient.create()) {
+ * DisplayVideo360AdvertiserLinkProposalName name =
+ * DisplayVideo360AdvertiserLinkProposalName.of(
+ * "[PROPERTY]", "[DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL]");
+ * analyticsAdminServiceClient.deleteDisplayVideo360AdvertiserLinkProposal(name);
+ * }
+ * }
+ *
+ * @param name Required. The name of the DisplayVideo360AdvertiserLinkProposal to delete. Example
+ * format: properties/1234/displayVideo360AdvertiserLinkProposals/5678
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final void deleteDisplayVideo360AdvertiserLinkProposal(
+ DisplayVideo360AdvertiserLinkProposalName name) {
+ DeleteDisplayVideo360AdvertiserLinkProposalRequest request =
+ DeleteDisplayVideo360AdvertiserLinkProposalRequest.newBuilder()
+ .setName(name == null ? null : name.toString())
+ .build();
+ deleteDisplayVideo360AdvertiserLinkProposal(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Deletes a DisplayVideo360AdvertiserLinkProposal on a property. This can only be used on
+ * cancelled proposals.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+ * AnalyticsAdminServiceClient.create()) {
+ * String name =
+ * DisplayVideo360AdvertiserLinkProposalName.of(
+ * "[PROPERTY]", "[DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL]")
+ * .toString();
+ * analyticsAdminServiceClient.deleteDisplayVideo360AdvertiserLinkProposal(name);
+ * }
+ * }
+ *
+ * @param name Required. The name of the DisplayVideo360AdvertiserLinkProposal to delete. Example
+ * format: properties/1234/displayVideo360AdvertiserLinkProposals/5678
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final void deleteDisplayVideo360AdvertiserLinkProposal(String name) {
+ DeleteDisplayVideo360AdvertiserLinkProposalRequest request =
+ DeleteDisplayVideo360AdvertiserLinkProposalRequest.newBuilder().setName(name).build();
+ deleteDisplayVideo360AdvertiserLinkProposal(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Deletes a DisplayVideo360AdvertiserLinkProposal on a property. This can only be used on
+ * cancelled proposals.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+ * AnalyticsAdminServiceClient.create()) {
+ * DeleteDisplayVideo360AdvertiserLinkProposalRequest request =
+ * DeleteDisplayVideo360AdvertiserLinkProposalRequest.newBuilder()
+ * .setName(
+ * DisplayVideo360AdvertiserLinkProposalName.of(
+ * "[PROPERTY]", "[DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL]")
+ * .toString())
+ * .build();
+ * analyticsAdminServiceClient.deleteDisplayVideo360AdvertiserLinkProposal(request);
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final void deleteDisplayVideo360AdvertiserLinkProposal(
+ DeleteDisplayVideo360AdvertiserLinkProposalRequest request) {
+ deleteDisplayVideo360AdvertiserLinkProposalCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Deletes a DisplayVideo360AdvertiserLinkProposal on a property. This can only be used on
+ * cancelled proposals.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+ * AnalyticsAdminServiceClient.create()) {
+ * DeleteDisplayVideo360AdvertiserLinkProposalRequest request =
+ * DeleteDisplayVideo360AdvertiserLinkProposalRequest.newBuilder()
+ * .setName(
+ * DisplayVideo360AdvertiserLinkProposalName.of(
+ * "[PROPERTY]", "[DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL]")
+ * .toString())
+ * .build();
+ * ApiFuture future =
+ * analyticsAdminServiceClient
+ * .deleteDisplayVideo360AdvertiserLinkProposalCallable()
+ * .futureCall(request);
+ * // Do something.
+ * future.get();
+ * }
+ * }
+ */
+ public final UnaryCallable
+ deleteDisplayVideo360AdvertiserLinkProposalCallable() {
+ return stub.deleteDisplayVideo360AdvertiserLinkProposalCallable();
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Approves a DisplayVideo360AdvertiserLinkProposal. The DisplayVideo360AdvertiserLinkProposal
+ * will be deleted and a new DisplayVideo360AdvertiserLink will be created.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+ * AnalyticsAdminServiceClient.create()) {
+ * ApproveDisplayVideo360AdvertiserLinkProposalRequest request =
+ * ApproveDisplayVideo360AdvertiserLinkProposalRequest.newBuilder()
+ * .setName(
+ * DisplayVideo360AdvertiserLinkProposalName.of(
+ * "[PROPERTY]", "[DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL]")
+ * .toString())
+ * .build();
+ * ApproveDisplayVideo360AdvertiserLinkProposalResponse response =
+ * analyticsAdminServiceClient.approveDisplayVideo360AdvertiserLinkProposal(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 ApproveDisplayVideo360AdvertiserLinkProposalResponse
+ approveDisplayVideo360AdvertiserLinkProposal(
+ ApproveDisplayVideo360AdvertiserLinkProposalRequest request) {
+ return approveDisplayVideo360AdvertiserLinkProposalCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Approves a DisplayVideo360AdvertiserLinkProposal. The DisplayVideo360AdvertiserLinkProposal
+ * will be deleted and a new DisplayVideo360AdvertiserLink will be created.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+ * AnalyticsAdminServiceClient.create()) {
+ * ApproveDisplayVideo360AdvertiserLinkProposalRequest request =
+ * ApproveDisplayVideo360AdvertiserLinkProposalRequest.newBuilder()
+ * .setName(
+ * DisplayVideo360AdvertiserLinkProposalName.of(
+ * "[PROPERTY]", "[DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL]")
+ * .toString())
+ * .build();
+ * ApiFuture future =
+ * analyticsAdminServiceClient
+ * .approveDisplayVideo360AdvertiserLinkProposalCallable()
+ * .futureCall(request);
+ * // Do something.
+ * ApproveDisplayVideo360AdvertiserLinkProposalResponse response = future.get();
+ * }
+ * }
+ */
+ public final UnaryCallable<
+ ApproveDisplayVideo360AdvertiserLinkProposalRequest,
+ ApproveDisplayVideo360AdvertiserLinkProposalResponse>
+ approveDisplayVideo360AdvertiserLinkProposalCallable() {
+ return stub.approveDisplayVideo360AdvertiserLinkProposalCallable();
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Cancels a DisplayVideo360AdvertiserLinkProposal. Cancelling can mean either: - Declining a
+ * proposal initiated from Display & Video 360 - Withdrawing a proposal initiated from Google
+ * Analytics After being cancelled, a proposal will eventually be deleted automatically.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+ * AnalyticsAdminServiceClient.create()) {
+ * CancelDisplayVideo360AdvertiserLinkProposalRequest request =
+ * CancelDisplayVideo360AdvertiserLinkProposalRequest.newBuilder()
+ * .setName(
+ * DisplayVideo360AdvertiserLinkProposalName.of(
+ * "[PROPERTY]", "[DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL]")
+ * .toString())
+ * .build();
+ * DisplayVideo360AdvertiserLinkProposal response =
+ * analyticsAdminServiceClient.cancelDisplayVideo360AdvertiserLinkProposal(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 DisplayVideo360AdvertiserLinkProposal cancelDisplayVideo360AdvertiserLinkProposal(
+ CancelDisplayVideo360AdvertiserLinkProposalRequest request) {
+ return cancelDisplayVideo360AdvertiserLinkProposalCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Cancels a DisplayVideo360AdvertiserLinkProposal. Cancelling can mean either: - Declining a
+ * proposal initiated from Display & Video 360 - Withdrawing a proposal initiated from Google
+ * Analytics After being cancelled, a proposal will eventually be deleted automatically.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+ * AnalyticsAdminServiceClient.create()) {
+ * CancelDisplayVideo360AdvertiserLinkProposalRequest request =
+ * CancelDisplayVideo360AdvertiserLinkProposalRequest.newBuilder()
+ * .setName(
+ * DisplayVideo360AdvertiserLinkProposalName.of(
+ * "[PROPERTY]", "[DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL]")
+ * .toString())
+ * .build();
+ * ApiFuture future =
+ * analyticsAdminServiceClient
+ * .cancelDisplayVideo360AdvertiserLinkProposalCallable()
+ * .futureCall(request);
+ * // Do something.
+ * DisplayVideo360AdvertiserLinkProposal response = future.get();
+ * }
+ * }
+ */
+ public final UnaryCallable<
+ CancelDisplayVideo360AdvertiserLinkProposalRequest, DisplayVideo360AdvertiserLinkProposal>
+ cancelDisplayVideo360AdvertiserLinkProposalCallable() {
+ return stub.cancelDisplayVideo360AdvertiserLinkProposalCallable();
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Creates a CustomDimension.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+ * AnalyticsAdminServiceClient.create()) {
+ * PropertyName parent = PropertyName.of("[PROPERTY]");
+ * CustomDimension customDimension = CustomDimension.newBuilder().build();
+ * CustomDimension response =
+ * analyticsAdminServiceClient.createCustomDimension(parent, customDimension);
+ * }
+ * }
+ *
+ * @param parent Required. Example format: properties/1234
+ * @param customDimension Required. The CustomDimension to create.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final CustomDimension createCustomDimension(
+ PropertyName parent, CustomDimension customDimension) {
+ CreateCustomDimensionRequest request =
+ CreateCustomDimensionRequest.newBuilder()
+ .setParent(parent == null ? null : parent.toString())
+ .setCustomDimension(customDimension)
+ .build();
+ return createCustomDimension(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Creates a CustomDimension.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+ * AnalyticsAdminServiceClient.create()) {
+ * String parent = PropertyName.of("[PROPERTY]").toString();
+ * CustomDimension customDimension = CustomDimension.newBuilder().build();
+ * CustomDimension response =
+ * analyticsAdminServiceClient.createCustomDimension(parent, customDimension);
+ * }
+ * }
+ *
+ * @param parent Required. Example format: properties/1234
+ * @param customDimension Required. The CustomDimension to create.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final CustomDimension createCustomDimension(
+ String parent, CustomDimension customDimension) {
+ CreateCustomDimensionRequest request =
+ CreateCustomDimensionRequest.newBuilder()
+ .setParent(parent)
+ .setCustomDimension(customDimension)
+ .build();
+ return createCustomDimension(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Creates a CustomDimension.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+ * AnalyticsAdminServiceClient.create()) {
+ * CreateCustomDimensionRequest request =
+ * CreateCustomDimensionRequest.newBuilder()
+ * .setParent(PropertyName.of("[PROPERTY]").toString())
+ * .setCustomDimension(CustomDimension.newBuilder().build())
+ * .build();
+ * CustomDimension response = analyticsAdminServiceClient.createCustomDimension(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 CustomDimension createCustomDimension(CreateCustomDimensionRequest request) {
+ return createCustomDimensionCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Creates a CustomDimension.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+ * AnalyticsAdminServiceClient.create()) {
+ * CreateCustomDimensionRequest request =
+ * CreateCustomDimensionRequest.newBuilder()
+ * .setParent(PropertyName.of("[PROPERTY]").toString())
+ * .setCustomDimension(CustomDimension.newBuilder().build())
+ * .build();
+ * ApiFuture future =
+ * analyticsAdminServiceClient.createCustomDimensionCallable().futureCall(request);
+ * // Do something.
+ * CustomDimension response = future.get();
+ * }
+ * }
+ */
+ public final UnaryCallable
+ createCustomDimensionCallable() {
+ return stub.createCustomDimensionCallable();
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Updates a CustomDimension on a property.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+ * AnalyticsAdminServiceClient.create()) {
+ * CustomDimension customDimension = CustomDimension.newBuilder().build();
+ * FieldMask updateMask = FieldMask.newBuilder().build();
+ * CustomDimension response =
+ * analyticsAdminServiceClient.updateCustomDimension(customDimension, updateMask);
+ * }
+ * }
+ *
+ * @param customDimension The CustomDimension to update
+ * @param updateMask Required. The list of fields to be updated. Omitted fields will not be
+ * updated. To replace the entire entity, use one path with the string "*" to match all
+ * fields.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final CustomDimension updateCustomDimension(
+ CustomDimension customDimension, FieldMask updateMask) {
+ UpdateCustomDimensionRequest request =
+ UpdateCustomDimensionRequest.newBuilder()
+ .setCustomDimension(customDimension)
+ .setUpdateMask(updateMask)
+ .build();
+ return updateCustomDimension(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Updates a CustomDimension on a property.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+ * AnalyticsAdminServiceClient.create()) {
+ * UpdateCustomDimensionRequest request =
+ * UpdateCustomDimensionRequest.newBuilder()
+ * .setCustomDimension(CustomDimension.newBuilder().build())
+ * .setUpdateMask(FieldMask.newBuilder().build())
+ * .build();
+ * CustomDimension response = analyticsAdminServiceClient.updateCustomDimension(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 CustomDimension updateCustomDimension(UpdateCustomDimensionRequest request) {
+ return updateCustomDimensionCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Updates a CustomDimension on a property.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+ * AnalyticsAdminServiceClient.create()) {
+ * UpdateCustomDimensionRequest request =
+ * UpdateCustomDimensionRequest.newBuilder()
+ * .setCustomDimension(CustomDimension.newBuilder().build())
+ * .setUpdateMask(FieldMask.newBuilder().build())
+ * .build();
+ * ApiFuture future =
+ * analyticsAdminServiceClient.updateCustomDimensionCallable().futureCall(request);
+ * // Do something.
+ * CustomDimension response = future.get();
+ * }
+ * }
+ */
+ public final UnaryCallable
+ updateCustomDimensionCallable() {
+ return stub.updateCustomDimensionCallable();
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Lists CustomDimensions on a property.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+ * AnalyticsAdminServiceClient.create()) {
+ * PropertyName parent = PropertyName.of("[PROPERTY]");
+ * for (CustomDimension element :
+ * analyticsAdminServiceClient.listCustomDimensions(parent).iterateAll()) {
+ * // doThingsWith(element);
+ * }
+ * }
+ * }
+ *
+ * @param parent Required. Example format: properties/1234
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final ListCustomDimensionsPagedResponse listCustomDimensions(PropertyName parent) {
+ ListCustomDimensionsRequest request =
+ ListCustomDimensionsRequest.newBuilder()
+ .setParent(parent == null ? null : parent.toString())
+ .build();
+ return listCustomDimensions(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Lists CustomDimensions on a property.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+ * AnalyticsAdminServiceClient.create()) {
+ * String parent = PropertyName.of("[PROPERTY]").toString();
+ * for (CustomDimension element :
+ * analyticsAdminServiceClient.listCustomDimensions(parent).iterateAll()) {
+ * // doThingsWith(element);
+ * }
+ * }
+ * }
+ *
+ * @param parent Required. Example format: properties/1234
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final ListCustomDimensionsPagedResponse listCustomDimensions(String parent) {
+ ListCustomDimensionsRequest request =
+ ListCustomDimensionsRequest.newBuilder().setParent(parent).build();
+ return listCustomDimensions(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Lists CustomDimensions on a property.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+ * AnalyticsAdminServiceClient.create()) {
+ * ListCustomDimensionsRequest request =
+ * ListCustomDimensionsRequest.newBuilder()
+ * .setParent(PropertyName.of("[PROPERTY]").toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .build();
@@ -6523,7 +7677,7 @@ public final ListCustomDimensionsPagedResponse listCustomDimensions(
* AnalyticsAdminServiceClient.create()) {
* ListCustomDimensionsRequest request =
* ListCustomDimensionsRequest.newBuilder()
- * .setParent(CustomDimensionName.of("[PROPERTY]").toString())
+ * .setParent(PropertyName.of("[PROPERTY]").toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .build();
@@ -6552,7 +7706,7 @@ public final ListCustomDimensionsPagedResponse listCustomDimensions(
* AnalyticsAdminServiceClient.create()) {
* ListCustomDimensionsRequest request =
* ListCustomDimensionsRequest.newBuilder()
- * .setParent(CustomDimensionName.of("[PROPERTY]").toString())
+ * .setParent(PropertyName.of("[PROPERTY]").toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .build();
@@ -6812,7 +7966,7 @@ public final CustomMetric createCustomMetric(PropertyName parent, CustomMetric c
* {@code
* try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
* AnalyticsAdminServiceClient.create()) {
- * String parent = CustomMetricName.of("[PROPERTY]").toString();
+ * String parent = PropertyName.of("[PROPERTY]").toString();
* CustomMetric customMetric = CustomMetric.newBuilder().build();
* CustomMetric response = analyticsAdminServiceClient.createCustomMetric(parent, customMetric);
* }
@@ -6842,7 +7996,7 @@ public final CustomMetric createCustomMetric(String parent, CustomMetric customM
* AnalyticsAdminServiceClient.create()) {
* CreateCustomMetricRequest request =
* CreateCustomMetricRequest.newBuilder()
- * .setParent(CustomMetricName.of("[PROPERTY]").toString())
+ * .setParent(PropertyName.of("[PROPERTY]").toString())
* .setCustomMetric(CustomMetric.newBuilder().build())
* .build();
* CustomMetric response = analyticsAdminServiceClient.createCustomMetric(request);
@@ -6867,7 +8021,7 @@ public final CustomMetric createCustomMetric(CreateCustomMetricRequest request)
* AnalyticsAdminServiceClient.create()) {
* CreateCustomMetricRequest request =
* CreateCustomMetricRequest.newBuilder()
- * .setParent(CustomMetricName.of("[PROPERTY]").toString())
+ * .setParent(PropertyName.of("[PROPERTY]").toString())
* .setCustomMetric(CustomMetric.newBuilder().build())
* .build();
* ApiFuture future =
@@ -6999,7 +8153,7 @@ public final ListCustomMetricsPagedResponse listCustomMetrics(PropertyName paren
* {@code
* try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
* AnalyticsAdminServiceClient.create()) {
- * String parent = CustomMetricName.of("[PROPERTY]").toString();
+ * String parent = PropertyName.of("[PROPERTY]").toString();
* for (CustomMetric element :
* analyticsAdminServiceClient.listCustomMetrics(parent).iterateAll()) {
* // doThingsWith(element);
@@ -7027,7 +8181,7 @@ public final ListCustomMetricsPagedResponse listCustomMetrics(String parent) {
* AnalyticsAdminServiceClient.create()) {
* ListCustomMetricsRequest request =
* ListCustomMetricsRequest.newBuilder()
- * .setParent(CustomMetricName.of("[PROPERTY]").toString())
+ * .setParent(PropertyName.of("[PROPERTY]").toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .build();
@@ -7056,7 +8210,7 @@ public final ListCustomMetricsPagedResponse listCustomMetrics(ListCustomMetricsR
* AnalyticsAdminServiceClient.create()) {
* ListCustomMetricsRequest request =
* ListCustomMetricsRequest.newBuilder()
- * .setParent(CustomMetricName.of("[PROPERTY]").toString())
+ * .setParent(PropertyName.of("[PROPERTY]").toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .build();
@@ -7085,7 +8239,7 @@ public final ListCustomMetricsPagedResponse listCustomMetrics(ListCustomMetricsR
* AnalyticsAdminServiceClient.create()) {
* ListCustomMetricsRequest request =
* ListCustomMetricsRequest.newBuilder()
- * .setParent(CustomMetricName.of("[PROPERTY]").toString())
+ * .setParent(PropertyName.of("[PROPERTY]").toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .build();
@@ -7303,6 +8457,196 @@ public final UnaryCallable getCustomMetric
return stub.getCustomMetricCallable();
}
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Returns the singleton data retention settings for this property.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+ * AnalyticsAdminServiceClient.create()) {
+ * DataRetentionSettingsName name = DataRetentionSettingsName.of("[PROPERTY]");
+ * DataRetentionSettings response = analyticsAdminServiceClient.getDataRetentionSettings(name);
+ * }
+ * }
+ *
+ * @param name Required. The name of the settings to lookup. Format:
+ * properties/{property}/dataRetentionSettings Example:
+ * "properties/1000/dataRetentionSettings"
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final DataRetentionSettings getDataRetentionSettings(DataRetentionSettingsName name) {
+ GetDataRetentionSettingsRequest request =
+ GetDataRetentionSettingsRequest.newBuilder()
+ .setName(name == null ? null : name.toString())
+ .build();
+ return getDataRetentionSettings(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Returns the singleton data retention settings for this property.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+ * AnalyticsAdminServiceClient.create()) {
+ * String name = DataRetentionSettingsName.of("[PROPERTY]").toString();
+ * DataRetentionSettings response = analyticsAdminServiceClient.getDataRetentionSettings(name);
+ * }
+ * }
+ *
+ * @param name Required. The name of the settings to lookup. Format:
+ * properties/{property}/dataRetentionSettings Example:
+ * "properties/1000/dataRetentionSettings"
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final DataRetentionSettings getDataRetentionSettings(String name) {
+ GetDataRetentionSettingsRequest request =
+ GetDataRetentionSettingsRequest.newBuilder().setName(name).build();
+ return getDataRetentionSettings(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Returns the singleton data retention settings for this property.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+ * AnalyticsAdminServiceClient.create()) {
+ * GetDataRetentionSettingsRequest request =
+ * GetDataRetentionSettingsRequest.newBuilder()
+ * .setName(DataRetentionSettingsName.of("[PROPERTY]").toString())
+ * .build();
+ * DataRetentionSettings response =
+ * analyticsAdminServiceClient.getDataRetentionSettings(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 DataRetentionSettings getDataRetentionSettings(
+ GetDataRetentionSettingsRequest request) {
+ return getDataRetentionSettingsCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Returns the singleton data retention settings for this property.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+ * AnalyticsAdminServiceClient.create()) {
+ * GetDataRetentionSettingsRequest request =
+ * GetDataRetentionSettingsRequest.newBuilder()
+ * .setName(DataRetentionSettingsName.of("[PROPERTY]").toString())
+ * .build();
+ * ApiFuture future =
+ * analyticsAdminServiceClient.getDataRetentionSettingsCallable().futureCall(request);
+ * // Do something.
+ * DataRetentionSettings response = future.get();
+ * }
+ * }
+ */
+ public final UnaryCallable
+ getDataRetentionSettingsCallable() {
+ return stub.getDataRetentionSettingsCallable();
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Updates the singleton data retention settings for this property.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+ * AnalyticsAdminServiceClient.create()) {
+ * DataRetentionSettings dataRetentionSettings = DataRetentionSettings.newBuilder().build();
+ * FieldMask updateMask = FieldMask.newBuilder().build();
+ * DataRetentionSettings response =
+ * analyticsAdminServiceClient.updateDataRetentionSettings(
+ * dataRetentionSettings, updateMask);
+ * }
+ * }
+ *
+ * @param dataRetentionSettings Required. The settings to update. The `name` field is used to
+ * identify the settings to be updated.
+ * @param updateMask Required. The list of fields to be updated. Field names must be in snake case
+ * (e.g., "field_to_update"). Omitted fields will not be updated. To replace the entire
+ * entity, use one path with the string "*" to match all fields.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final DataRetentionSettings updateDataRetentionSettings(
+ DataRetentionSettings dataRetentionSettings, FieldMask updateMask) {
+ UpdateDataRetentionSettingsRequest request =
+ UpdateDataRetentionSettingsRequest.newBuilder()
+ .setDataRetentionSettings(dataRetentionSettings)
+ .setUpdateMask(updateMask)
+ .build();
+ return updateDataRetentionSettings(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Updates the singleton data retention settings for this property.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+ * AnalyticsAdminServiceClient.create()) {
+ * UpdateDataRetentionSettingsRequest request =
+ * UpdateDataRetentionSettingsRequest.newBuilder()
+ * .setDataRetentionSettings(DataRetentionSettings.newBuilder().build())
+ * .setUpdateMask(FieldMask.newBuilder().build())
+ * .build();
+ * DataRetentionSettings response =
+ * analyticsAdminServiceClient.updateDataRetentionSettings(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 DataRetentionSettings updateDataRetentionSettings(
+ UpdateDataRetentionSettingsRequest request) {
+ return updateDataRetentionSettingsCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Updates the singleton data retention settings for this property.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+ * AnalyticsAdminServiceClient.create()) {
+ * UpdateDataRetentionSettingsRequest request =
+ * UpdateDataRetentionSettingsRequest.newBuilder()
+ * .setDataRetentionSettings(DataRetentionSettings.newBuilder().build())
+ * .setUpdateMask(FieldMask.newBuilder().build())
+ * .build();
+ * ApiFuture future =
+ * analyticsAdminServiceClient.updateDataRetentionSettingsCallable().futureCall(request);
+ * // Do something.
+ * DataRetentionSettings response = future.get();
+ * }
+ * }
+ */
+ public final UnaryCallable
+ updateDataRetentionSettingsCallable() {
+ return stub.updateDataRetentionSettingsCallable();
+ }
+
@Override
public final void close() {
stub.close();
@@ -8417,6 +9761,206 @@ protected ListConversionEventsFixedSizeCollection createCollection(
}
}
+ public static class ListDisplayVideo360AdvertiserLinksPagedResponse
+ extends AbstractPagedListResponse<
+ ListDisplayVideo360AdvertiserLinksRequest,
+ ListDisplayVideo360AdvertiserLinksResponse,
+ DisplayVideo360AdvertiserLink,
+ ListDisplayVideo360AdvertiserLinksPage,
+ ListDisplayVideo360AdvertiserLinksFixedSizeCollection> {
+
+ public static ApiFuture createAsync(
+ PageContext<
+ ListDisplayVideo360AdvertiserLinksRequest,
+ ListDisplayVideo360AdvertiserLinksResponse,
+ DisplayVideo360AdvertiserLink>
+ context,
+ ApiFuture futureResponse) {
+ ApiFuture futurePage =
+ ListDisplayVideo360AdvertiserLinksPage.createEmptyPage()
+ .createPageAsync(context, futureResponse);
+ return ApiFutures.transform(
+ futurePage,
+ input -> new ListDisplayVideo360AdvertiserLinksPagedResponse(input),
+ MoreExecutors.directExecutor());
+ }
+
+ private ListDisplayVideo360AdvertiserLinksPagedResponse(
+ ListDisplayVideo360AdvertiserLinksPage page) {
+ super(page, ListDisplayVideo360AdvertiserLinksFixedSizeCollection.createEmptyCollection());
+ }
+ }
+
+ public static class ListDisplayVideo360AdvertiserLinksPage
+ extends AbstractPage<
+ ListDisplayVideo360AdvertiserLinksRequest,
+ ListDisplayVideo360AdvertiserLinksResponse,
+ DisplayVideo360AdvertiserLink,
+ ListDisplayVideo360AdvertiserLinksPage> {
+
+ private ListDisplayVideo360AdvertiserLinksPage(
+ PageContext<
+ ListDisplayVideo360AdvertiserLinksRequest,
+ ListDisplayVideo360AdvertiserLinksResponse,
+ DisplayVideo360AdvertiserLink>
+ context,
+ ListDisplayVideo360AdvertiserLinksResponse response) {
+ super(context, response);
+ }
+
+ private static ListDisplayVideo360AdvertiserLinksPage createEmptyPage() {
+ return new ListDisplayVideo360AdvertiserLinksPage(null, null);
+ }
+
+ @Override
+ protected ListDisplayVideo360AdvertiserLinksPage createPage(
+ PageContext<
+ ListDisplayVideo360AdvertiserLinksRequest,
+ ListDisplayVideo360AdvertiserLinksResponse,
+ DisplayVideo360AdvertiserLink>
+ context,
+ ListDisplayVideo360AdvertiserLinksResponse response) {
+ return new ListDisplayVideo360AdvertiserLinksPage(context, response);
+ }
+
+ @Override
+ public ApiFuture createPageAsync(
+ PageContext<
+ ListDisplayVideo360AdvertiserLinksRequest,
+ ListDisplayVideo360AdvertiserLinksResponse,
+ DisplayVideo360AdvertiserLink>
+ context,
+ ApiFuture futureResponse) {
+ return super.createPageAsync(context, futureResponse);
+ }
+ }
+
+ public static class ListDisplayVideo360AdvertiserLinksFixedSizeCollection
+ extends AbstractFixedSizeCollection<
+ ListDisplayVideo360AdvertiserLinksRequest,
+ ListDisplayVideo360AdvertiserLinksResponse,
+ DisplayVideo360AdvertiserLink,
+ ListDisplayVideo360AdvertiserLinksPage,
+ ListDisplayVideo360AdvertiserLinksFixedSizeCollection> {
+
+ private ListDisplayVideo360AdvertiserLinksFixedSizeCollection(
+ List pages, int collectionSize) {
+ super(pages, collectionSize);
+ }
+
+ private static ListDisplayVideo360AdvertiserLinksFixedSizeCollection createEmptyCollection() {
+ return new ListDisplayVideo360AdvertiserLinksFixedSizeCollection(null, 0);
+ }
+
+ @Override
+ protected ListDisplayVideo360AdvertiserLinksFixedSizeCollection createCollection(
+ List pages, int collectionSize) {
+ return new ListDisplayVideo360AdvertiserLinksFixedSizeCollection(pages, collectionSize);
+ }
+ }
+
+ public static class ListDisplayVideo360AdvertiserLinkProposalsPagedResponse
+ extends AbstractPagedListResponse<
+ ListDisplayVideo360AdvertiserLinkProposalsRequest,
+ ListDisplayVideo360AdvertiserLinkProposalsResponse,
+ DisplayVideo360AdvertiserLinkProposal,
+ ListDisplayVideo360AdvertiserLinkProposalsPage,
+ ListDisplayVideo360AdvertiserLinkProposalsFixedSizeCollection> {
+
+ public static ApiFuture createAsync(
+ PageContext<
+ ListDisplayVideo360AdvertiserLinkProposalsRequest,
+ ListDisplayVideo360AdvertiserLinkProposalsResponse,
+ DisplayVideo360AdvertiserLinkProposal>
+ context,
+ ApiFuture futureResponse) {
+ ApiFuture futurePage =
+ ListDisplayVideo360AdvertiserLinkProposalsPage.createEmptyPage()
+ .createPageAsync(context, futureResponse);
+ return ApiFutures.transform(
+ futurePage,
+ input -> new ListDisplayVideo360AdvertiserLinkProposalsPagedResponse(input),
+ MoreExecutors.directExecutor());
+ }
+
+ private ListDisplayVideo360AdvertiserLinkProposalsPagedResponse(
+ ListDisplayVideo360AdvertiserLinkProposalsPage page) {
+ super(
+ page,
+ ListDisplayVideo360AdvertiserLinkProposalsFixedSizeCollection.createEmptyCollection());
+ }
+ }
+
+ public static class ListDisplayVideo360AdvertiserLinkProposalsPage
+ extends AbstractPage<
+ ListDisplayVideo360AdvertiserLinkProposalsRequest,
+ ListDisplayVideo360AdvertiserLinkProposalsResponse,
+ DisplayVideo360AdvertiserLinkProposal,
+ ListDisplayVideo360AdvertiserLinkProposalsPage> {
+
+ private ListDisplayVideo360AdvertiserLinkProposalsPage(
+ PageContext<
+ ListDisplayVideo360AdvertiserLinkProposalsRequest,
+ ListDisplayVideo360AdvertiserLinkProposalsResponse,
+ DisplayVideo360AdvertiserLinkProposal>
+ context,
+ ListDisplayVideo360AdvertiserLinkProposalsResponse response) {
+ super(context, response);
+ }
+
+ private static ListDisplayVideo360AdvertiserLinkProposalsPage createEmptyPage() {
+ return new ListDisplayVideo360AdvertiserLinkProposalsPage(null, null);
+ }
+
+ @Override
+ protected ListDisplayVideo360AdvertiserLinkProposalsPage createPage(
+ PageContext<
+ ListDisplayVideo360AdvertiserLinkProposalsRequest,
+ ListDisplayVideo360AdvertiserLinkProposalsResponse,
+ DisplayVideo360AdvertiserLinkProposal>
+ context,
+ ListDisplayVideo360AdvertiserLinkProposalsResponse response) {
+ return new ListDisplayVideo360AdvertiserLinkProposalsPage(context, response);
+ }
+
+ @Override
+ public ApiFuture createPageAsync(
+ PageContext<
+ ListDisplayVideo360AdvertiserLinkProposalsRequest,
+ ListDisplayVideo360AdvertiserLinkProposalsResponse,
+ DisplayVideo360AdvertiserLinkProposal>
+ context,
+ ApiFuture futureResponse) {
+ return super.createPageAsync(context, futureResponse);
+ }
+ }
+
+ public static class ListDisplayVideo360AdvertiserLinkProposalsFixedSizeCollection
+ extends AbstractFixedSizeCollection<
+ ListDisplayVideo360AdvertiserLinkProposalsRequest,
+ ListDisplayVideo360AdvertiserLinkProposalsResponse,
+ DisplayVideo360AdvertiserLinkProposal,
+ ListDisplayVideo360AdvertiserLinkProposalsPage,
+ ListDisplayVideo360AdvertiserLinkProposalsFixedSizeCollection> {
+
+ private ListDisplayVideo360AdvertiserLinkProposalsFixedSizeCollection(
+ List pages, int collectionSize) {
+ super(pages, collectionSize);
+ }
+
+ private static ListDisplayVideo360AdvertiserLinkProposalsFixedSizeCollection
+ createEmptyCollection() {
+ return new ListDisplayVideo360AdvertiserLinkProposalsFixedSizeCollection(null, 0);
+ }
+
+ @Override
+ protected ListDisplayVideo360AdvertiserLinkProposalsFixedSizeCollection createCollection(
+ List pages, int collectionSize) {
+ return new ListDisplayVideo360AdvertiserLinkProposalsFixedSizeCollection(
+ pages, collectionSize);
+ }
+ }
+
public static class ListCustomDimensionsPagedResponse
extends AbstractPagedListResponse<
ListCustomDimensionsRequest,
diff --git a/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceSettings.java b/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceSettings.java
index ab244744..64ef040b 100644
--- a/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceSettings.java
+++ b/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceSettings.java
@@ -23,6 +23,8 @@
import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListConversionEventsPagedResponse;
import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListCustomDimensionsPagedResponse;
import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListCustomMetricsPagedResponse;
+import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListDisplayVideo360AdvertiserLinkProposalsPagedResponse;
+import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListDisplayVideo360AdvertiserLinksPagedResponse;
import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListFirebaseLinksPagedResponse;
import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListGoogleAdsLinksPagedResponse;
import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListIosAppDataStreamsPagedResponse;
@@ -311,11 +313,6 @@ public UnaryCallSettings createFirebase
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).createFirebaseLinkSettings();
}
- /** Returns the object with the settings used for calls to updateFirebaseLink. */
- public UnaryCallSettings updateFirebaseLinkSettings() {
- return ((AnalyticsAdminServiceStubSettings) getStubSettings()).updateFirebaseLinkSettings();
- }
-
/** Returns the object with the settings used for calls to deleteFirebaseLink. */
public UnaryCallSettings deleteFirebaseLinkSettings() {
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).deleteFirebaseLinkSettings();
@@ -451,6 +448,114 @@ public UnaryCallSettings deleteConversionEv
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).listConversionEventsSettings();
}
+ /** Returns the object with the settings used for calls to getDisplayVideo360AdvertiserLink. */
+ public UnaryCallSettings
+ getDisplayVideo360AdvertiserLinkSettings() {
+ return ((AnalyticsAdminServiceStubSettings) getStubSettings())
+ .getDisplayVideo360AdvertiserLinkSettings();
+ }
+
+ /** Returns the object with the settings used for calls to listDisplayVideo360AdvertiserLinks. */
+ public PagedCallSettings<
+ ListDisplayVideo360AdvertiserLinksRequest,
+ ListDisplayVideo360AdvertiserLinksResponse,
+ ListDisplayVideo360AdvertiserLinksPagedResponse>
+ listDisplayVideo360AdvertiserLinksSettings() {
+ return ((AnalyticsAdminServiceStubSettings) getStubSettings())
+ .listDisplayVideo360AdvertiserLinksSettings();
+ }
+
+ /** Returns the object with the settings used for calls to createDisplayVideo360AdvertiserLink. */
+ public UnaryCallSettings<
+ CreateDisplayVideo360AdvertiserLinkRequest, DisplayVideo360AdvertiserLink>
+ createDisplayVideo360AdvertiserLinkSettings() {
+ return ((AnalyticsAdminServiceStubSettings) getStubSettings())
+ .createDisplayVideo360AdvertiserLinkSettings();
+ }
+
+ /** Returns the object with the settings used for calls to deleteDisplayVideo360AdvertiserLink. */
+ public UnaryCallSettings
+ deleteDisplayVideo360AdvertiserLinkSettings() {
+ return ((AnalyticsAdminServiceStubSettings) getStubSettings())
+ .deleteDisplayVideo360AdvertiserLinkSettings();
+ }
+
+ /** Returns the object with the settings used for calls to updateDisplayVideo360AdvertiserLink. */
+ public UnaryCallSettings<
+ UpdateDisplayVideo360AdvertiserLinkRequest, DisplayVideo360AdvertiserLink>
+ updateDisplayVideo360AdvertiserLinkSettings() {
+ return ((AnalyticsAdminServiceStubSettings) getStubSettings())
+ .updateDisplayVideo360AdvertiserLinkSettings();
+ }
+
+ /**
+ * Returns the object with the settings used for calls to
+ * getDisplayVideo360AdvertiserLinkProposal.
+ */
+ public UnaryCallSettings<
+ GetDisplayVideo360AdvertiserLinkProposalRequest, DisplayVideo360AdvertiserLinkProposal>
+ getDisplayVideo360AdvertiserLinkProposalSettings() {
+ return ((AnalyticsAdminServiceStubSettings) getStubSettings())
+ .getDisplayVideo360AdvertiserLinkProposalSettings();
+ }
+
+ /**
+ * Returns the object with the settings used for calls to
+ * listDisplayVideo360AdvertiserLinkProposals.
+ */
+ public PagedCallSettings<
+ ListDisplayVideo360AdvertiserLinkProposalsRequest,
+ ListDisplayVideo360AdvertiserLinkProposalsResponse,
+ ListDisplayVideo360AdvertiserLinkProposalsPagedResponse>
+ listDisplayVideo360AdvertiserLinkProposalsSettings() {
+ return ((AnalyticsAdminServiceStubSettings) getStubSettings())
+ .listDisplayVideo360AdvertiserLinkProposalsSettings();
+ }
+
+ /**
+ * Returns the object with the settings used for calls to
+ * createDisplayVideo360AdvertiserLinkProposal.
+ */
+ public UnaryCallSettings<
+ CreateDisplayVideo360AdvertiserLinkProposalRequest, DisplayVideo360AdvertiserLinkProposal>
+ createDisplayVideo360AdvertiserLinkProposalSettings() {
+ return ((AnalyticsAdminServiceStubSettings) getStubSettings())
+ .createDisplayVideo360AdvertiserLinkProposalSettings();
+ }
+
+ /**
+ * Returns the object with the settings used for calls to
+ * deleteDisplayVideo360AdvertiserLinkProposal.
+ */
+ public UnaryCallSettings
+ deleteDisplayVideo360AdvertiserLinkProposalSettings() {
+ return ((AnalyticsAdminServiceStubSettings) getStubSettings())
+ .deleteDisplayVideo360AdvertiserLinkProposalSettings();
+ }
+
+ /**
+ * Returns the object with the settings used for calls to
+ * approveDisplayVideo360AdvertiserLinkProposal.
+ */
+ public UnaryCallSettings<
+ ApproveDisplayVideo360AdvertiserLinkProposalRequest,
+ ApproveDisplayVideo360AdvertiserLinkProposalResponse>
+ approveDisplayVideo360AdvertiserLinkProposalSettings() {
+ return ((AnalyticsAdminServiceStubSettings) getStubSettings())
+ .approveDisplayVideo360AdvertiserLinkProposalSettings();
+ }
+
+ /**
+ * Returns the object with the settings used for calls to
+ * cancelDisplayVideo360AdvertiserLinkProposal.
+ */
+ public UnaryCallSettings<
+ CancelDisplayVideo360AdvertiserLinkProposalRequest, DisplayVideo360AdvertiserLinkProposal>
+ cancelDisplayVideo360AdvertiserLinkProposalSettings() {
+ return ((AnalyticsAdminServiceStubSettings) getStubSettings())
+ .cancelDisplayVideo360AdvertiserLinkProposalSettings();
+ }
+
/** Returns the object with the settings used for calls to createCustomDimension. */
public UnaryCallSettings
createCustomDimensionSettings() {
@@ -510,6 +615,20 @@ public UnaryCallSettings getCustomMetricSe
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).getCustomMetricSettings();
}
+ /** Returns the object with the settings used for calls to getDataRetentionSettings. */
+ public UnaryCallSettings
+ getDataRetentionSettingsSettings() {
+ return ((AnalyticsAdminServiceStubSettings) getStubSettings())
+ .getDataRetentionSettingsSettings();
+ }
+
+ /** Returns the object with the settings used for calls to updateDataRetentionSettings. */
+ public UnaryCallSettings
+ updateDataRetentionSettingsSettings() {
+ return ((AnalyticsAdminServiceStubSettings) getStubSettings())
+ .updateDataRetentionSettingsSettings();
+ }
+
public static final AnalyticsAdminServiceSettings create(AnalyticsAdminServiceStubSettings stub)
throws IOException {
return new AnalyticsAdminServiceSettings.Builder(stub.toBuilder()).build();
@@ -835,12 +954,6 @@ public UnaryCallSettings.Builder deleteUserLinkSet
return getStubSettingsBuilder().createFirebaseLinkSettings();
}
- /** Returns the builder for the settings used for calls to updateFirebaseLink. */
- public UnaryCallSettings.Builder
- updateFirebaseLinkSettings() {
- return getStubSettingsBuilder().updateFirebaseLinkSettings();
- }
-
/** Returns the builder for the settings used for calls to deleteFirebaseLink. */
public UnaryCallSettings.Builder
deleteFirebaseLinkSettings() {
@@ -974,6 +1087,114 @@ public UnaryCallSettings.Builder deleteUserLinkSet
return getStubSettingsBuilder().listConversionEventsSettings();
}
+ /** Returns the builder for the settings used for calls to getDisplayVideo360AdvertiserLink. */
+ public UnaryCallSettings.Builder<
+ GetDisplayVideo360AdvertiserLinkRequest, DisplayVideo360AdvertiserLink>
+ getDisplayVideo360AdvertiserLinkSettings() {
+ return getStubSettingsBuilder().getDisplayVideo360AdvertiserLinkSettings();
+ }
+
+ /**
+ * Returns the builder for the settings used for calls to listDisplayVideo360AdvertiserLinks.
+ */
+ public PagedCallSettings.Builder<
+ ListDisplayVideo360AdvertiserLinksRequest,
+ ListDisplayVideo360AdvertiserLinksResponse,
+ ListDisplayVideo360AdvertiserLinksPagedResponse>
+ listDisplayVideo360AdvertiserLinksSettings() {
+ return getStubSettingsBuilder().listDisplayVideo360AdvertiserLinksSettings();
+ }
+
+ /**
+ * Returns the builder for the settings used for calls to createDisplayVideo360AdvertiserLink.
+ */
+ public UnaryCallSettings.Builder<
+ CreateDisplayVideo360AdvertiserLinkRequest, DisplayVideo360AdvertiserLink>
+ createDisplayVideo360AdvertiserLinkSettings() {
+ return getStubSettingsBuilder().createDisplayVideo360AdvertiserLinkSettings();
+ }
+
+ /**
+ * Returns the builder for the settings used for calls to deleteDisplayVideo360AdvertiserLink.
+ */
+ public UnaryCallSettings.Builder
+ deleteDisplayVideo360AdvertiserLinkSettings() {
+ return getStubSettingsBuilder().deleteDisplayVideo360AdvertiserLinkSettings();
+ }
+
+ /**
+ * Returns the builder for the settings used for calls to updateDisplayVideo360AdvertiserLink.
+ */
+ public UnaryCallSettings.Builder<
+ UpdateDisplayVideo360AdvertiserLinkRequest, DisplayVideo360AdvertiserLink>
+ updateDisplayVideo360AdvertiserLinkSettings() {
+ return getStubSettingsBuilder().updateDisplayVideo360AdvertiserLinkSettings();
+ }
+
+ /**
+ * Returns the builder for the settings used for calls to
+ * getDisplayVideo360AdvertiserLinkProposal.
+ */
+ public UnaryCallSettings.Builder<
+ GetDisplayVideo360AdvertiserLinkProposalRequest, DisplayVideo360AdvertiserLinkProposal>
+ getDisplayVideo360AdvertiserLinkProposalSettings() {
+ return getStubSettingsBuilder().getDisplayVideo360AdvertiserLinkProposalSettings();
+ }
+
+ /**
+ * Returns the builder for the settings used for calls to
+ * listDisplayVideo360AdvertiserLinkProposals.
+ */
+ public PagedCallSettings.Builder<
+ ListDisplayVideo360AdvertiserLinkProposalsRequest,
+ ListDisplayVideo360AdvertiserLinkProposalsResponse,
+ ListDisplayVideo360AdvertiserLinkProposalsPagedResponse>
+ listDisplayVideo360AdvertiserLinkProposalsSettings() {
+ return getStubSettingsBuilder().listDisplayVideo360AdvertiserLinkProposalsSettings();
+ }
+
+ /**
+ * Returns the builder for the settings used for calls to
+ * createDisplayVideo360AdvertiserLinkProposal.
+ */
+ public UnaryCallSettings.Builder<
+ CreateDisplayVideo360AdvertiserLinkProposalRequest,
+ DisplayVideo360AdvertiserLinkProposal>
+ createDisplayVideo360AdvertiserLinkProposalSettings() {
+ return getStubSettingsBuilder().createDisplayVideo360AdvertiserLinkProposalSettings();
+ }
+
+ /**
+ * Returns the builder for the settings used for calls to
+ * deleteDisplayVideo360AdvertiserLinkProposal.
+ */
+ public UnaryCallSettings.Builder
+ deleteDisplayVideo360AdvertiserLinkProposalSettings() {
+ return getStubSettingsBuilder().deleteDisplayVideo360AdvertiserLinkProposalSettings();
+ }
+
+ /**
+ * Returns the builder for the settings used for calls to
+ * approveDisplayVideo360AdvertiserLinkProposal.
+ */
+ public UnaryCallSettings.Builder<
+ ApproveDisplayVideo360AdvertiserLinkProposalRequest,
+ ApproveDisplayVideo360AdvertiserLinkProposalResponse>
+ approveDisplayVideo360AdvertiserLinkProposalSettings() {
+ return getStubSettingsBuilder().approveDisplayVideo360AdvertiserLinkProposalSettings();
+ }
+
+ /**
+ * Returns the builder for the settings used for calls to
+ * cancelDisplayVideo360AdvertiserLinkProposal.
+ */
+ public UnaryCallSettings.Builder<
+ CancelDisplayVideo360AdvertiserLinkProposalRequest,
+ DisplayVideo360AdvertiserLinkProposal>
+ cancelDisplayVideo360AdvertiserLinkProposalSettings() {
+ return getStubSettingsBuilder().cancelDisplayVideo360AdvertiserLinkProposalSettings();
+ }
+
/** Returns the builder for the settings used for calls to createCustomDimension. */
public UnaryCallSettings.Builder
createCustomDimensionSettings() {
@@ -1038,6 +1259,18 @@ public UnaryCallSettings.Builder deleteUserLinkSet
return getStubSettingsBuilder().getCustomMetricSettings();
}
+ /** Returns the builder for the settings used for calls to getDataRetentionSettings. */
+ public UnaryCallSettings.Builder
+ getDataRetentionSettingsSettings() {
+ return getStubSettingsBuilder().getDataRetentionSettingsSettings();
+ }
+
+ /** Returns the builder for the settings used for calls to updateDataRetentionSettings. */
+ public UnaryCallSettings.Builder
+ updateDataRetentionSettingsSettings() {
+ return getStubSettingsBuilder().updateDataRetentionSettingsSettings();
+ }
+
@Override
public AnalyticsAdminServiceSettings build() throws IOException {
return new AnalyticsAdminServiceSettings(this);
diff --git a/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/gapic_metadata.json b/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/gapic_metadata.json
index fe921e8b..a9ba9efd 100644
--- a/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/gapic_metadata.json
+++ b/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/gapic_metadata.json
@@ -10,6 +10,9 @@
"grpc": {
"libraryClient": "AnalyticsAdminServiceClient",
"rpcs": {
+ "ApproveDisplayVideo360AdvertiserLinkProposal": {
+ "methods": ["approveDisplayVideo360AdvertiserLinkProposal", "approveDisplayVideo360AdvertiserLinkProposalCallable"]
+ },
"ArchiveCustomDimension": {
"methods": ["archiveCustomDimension", "archiveCustomDimension", "archiveCustomDimension", "archiveCustomDimensionCallable"]
},
@@ -31,6 +34,9 @@
"BatchUpdateUserLinks": {
"methods": ["batchUpdateUserLinks", "batchUpdateUserLinksCallable"]
},
+ "CancelDisplayVideo360AdvertiserLinkProposal": {
+ "methods": ["cancelDisplayVideo360AdvertiserLinkProposal", "cancelDisplayVideo360AdvertiserLinkProposalCallable"]
+ },
"CreateConversionEvent": {
"methods": ["createConversionEvent", "createConversionEvent", "createConversionEvent", "createConversionEventCallable"]
},
@@ -40,6 +46,12 @@
"CreateCustomMetric": {
"methods": ["createCustomMetric", "createCustomMetric", "createCustomMetric", "createCustomMetricCallable"]
},
+ "CreateDisplayVideo360AdvertiserLink": {
+ "methods": ["createDisplayVideo360AdvertiserLink", "createDisplayVideo360AdvertiserLink", "createDisplayVideo360AdvertiserLink", "createDisplayVideo360AdvertiserLinkCallable"]
+ },
+ "CreateDisplayVideo360AdvertiserLinkProposal": {
+ "methods": ["createDisplayVideo360AdvertiserLinkProposal", "createDisplayVideo360AdvertiserLinkProposal", "createDisplayVideo360AdvertiserLinkProposal", "createDisplayVideo360AdvertiserLinkProposalCallable"]
+ },
"CreateFirebaseLink": {
"methods": ["createFirebaseLink", "createFirebaseLink", "createFirebaseLink", "createFirebaseLinkCallable"]
},
@@ -67,6 +79,12 @@
"DeleteConversionEvent": {
"methods": ["deleteConversionEvent", "deleteConversionEvent", "deleteConversionEvent", "deleteConversionEventCallable"]
},
+ "DeleteDisplayVideo360AdvertiserLink": {
+ "methods": ["deleteDisplayVideo360AdvertiserLink", "deleteDisplayVideo360AdvertiserLink", "deleteDisplayVideo360AdvertiserLink", "deleteDisplayVideo360AdvertiserLinkCallable"]
+ },
+ "DeleteDisplayVideo360AdvertiserLinkProposal": {
+ "methods": ["deleteDisplayVideo360AdvertiserLinkProposal", "deleteDisplayVideo360AdvertiserLinkProposal", "deleteDisplayVideo360AdvertiserLinkProposal", "deleteDisplayVideo360AdvertiserLinkProposalCallable"]
+ },
"DeleteFirebaseLink": {
"methods": ["deleteFirebaseLink", "deleteFirebaseLink", "deleteFirebaseLink", "deleteFirebaseLinkCallable"]
},
@@ -103,9 +121,18 @@
"GetCustomMetric": {
"methods": ["getCustomMetric", "getCustomMetric", "getCustomMetric", "getCustomMetricCallable"]
},
+ "GetDataRetentionSettings": {
+ "methods": ["getDataRetentionSettings", "getDataRetentionSettings", "getDataRetentionSettings", "getDataRetentionSettingsCallable"]
+ },
"GetDataSharingSettings": {
"methods": ["getDataSharingSettings", "getDataSharingSettings", "getDataSharingSettings", "getDataSharingSettingsCallable"]
},
+ "GetDisplayVideo360AdvertiserLink": {
+ "methods": ["getDisplayVideo360AdvertiserLink", "getDisplayVideo360AdvertiserLink", "getDisplayVideo360AdvertiserLink", "getDisplayVideo360AdvertiserLinkCallable"]
+ },
+ "GetDisplayVideo360AdvertiserLinkProposal": {
+ "methods": ["getDisplayVideo360AdvertiserLinkProposal", "getDisplayVideo360AdvertiserLinkProposal", "getDisplayVideo360AdvertiserLinkProposal", "getDisplayVideo360AdvertiserLinkProposalCallable"]
+ },
"GetEnhancedMeasurementSettings": {
"methods": ["getEnhancedMeasurementSettings", "getEnhancedMeasurementSettings", "getEnhancedMeasurementSettings", "getEnhancedMeasurementSettingsCallable"]
},
@@ -148,6 +175,12 @@
"ListCustomMetrics": {
"methods": ["listCustomMetrics", "listCustomMetrics", "listCustomMetrics", "listCustomMetricsPagedCallable", "listCustomMetricsCallable"]
},
+ "ListDisplayVideo360AdvertiserLinkProposals": {
+ "methods": ["listDisplayVideo360AdvertiserLinkProposals", "listDisplayVideo360AdvertiserLinkProposals", "listDisplayVideo360AdvertiserLinkProposals", "listDisplayVideo360AdvertiserLinkProposalsPagedCallable", "listDisplayVideo360AdvertiserLinkProposalsCallable"]
+ },
+ "ListDisplayVideo360AdvertiserLinks": {
+ "methods": ["listDisplayVideo360AdvertiserLinks", "listDisplayVideo360AdvertiserLinks", "listDisplayVideo360AdvertiserLinks", "listDisplayVideo360AdvertiserLinksPagedCallable", "listDisplayVideo360AdvertiserLinksCallable"]
+ },
"ListFirebaseLinks": {
"methods": ["listFirebaseLinks", "listFirebaseLinks", "listFirebaseLinks", "listFirebaseLinksPagedCallable", "listFirebaseLinksCallable"]
},
@@ -187,12 +220,15 @@
"UpdateCustomMetric": {
"methods": ["updateCustomMetric", "updateCustomMetric", "updateCustomMetricCallable"]
},
+ "UpdateDataRetentionSettings": {
+ "methods": ["updateDataRetentionSettings", "updateDataRetentionSettings", "updateDataRetentionSettingsCallable"]
+ },
+ "UpdateDisplayVideo360AdvertiserLink": {
+ "methods": ["updateDisplayVideo360AdvertiserLink", "updateDisplayVideo360AdvertiserLink", "updateDisplayVideo360AdvertiserLinkCallable"]
+ },
"UpdateEnhancedMeasurementSettings": {
"methods": ["updateEnhancedMeasurementSettings", "updateEnhancedMeasurementSettings", "updateEnhancedMeasurementSettingsCallable"]
},
- "UpdateFirebaseLink": {
- "methods": ["updateFirebaseLink", "updateFirebaseLink", "updateFirebaseLinkCallable"]
- },
"UpdateGoogleAdsLink": {
"methods": ["updateGoogleAdsLink", "updateGoogleAdsLink", "updateGoogleAdsLinkCallable"]
},
diff --git a/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/AnalyticsAdminServiceStub.java b/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/AnalyticsAdminServiceStub.java
index 84390ca3..461983a3 100644
--- a/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/AnalyticsAdminServiceStub.java
+++ b/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/AnalyticsAdminServiceStub.java
@@ -23,6 +23,8 @@
import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListConversionEventsPagedResponse;
import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListCustomDimensionsPagedResponse;
import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListCustomMetricsPagedResponse;
+import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListDisplayVideo360AdvertiserLinkProposalsPagedResponse;
+import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListDisplayVideo360AdvertiserLinksPagedResponse;
import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListFirebaseLinksPagedResponse;
import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListGoogleAdsLinksPagedResponse;
import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListIosAppDataStreamsPagedResponse;
@@ -34,6 +36,8 @@
import com.google.analytics.admin.v1alpha.Account;
import com.google.analytics.admin.v1alpha.AndroidAppDataStream;
+import com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest;
+import com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse;
import com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest;
import com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest;
import com.google.analytics.admin.v1alpha.AuditUserLinksRequest;
@@ -45,10 +49,13 @@
import com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse;
import com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest;
import com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse;
+import com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest;
import com.google.analytics.admin.v1alpha.ConversionEvent;
import com.google.analytics.admin.v1alpha.CreateConversionEventRequest;
import com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest;
import com.google.analytics.admin.v1alpha.CreateCustomMetricRequest;
+import com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest;
+import com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest;
import com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest;
import com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest;
import com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest;
@@ -57,10 +64,13 @@
import com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest;
import com.google.analytics.admin.v1alpha.CustomDimension;
import com.google.analytics.admin.v1alpha.CustomMetric;
+import com.google.analytics.admin.v1alpha.DataRetentionSettings;
import com.google.analytics.admin.v1alpha.DataSharingSettings;
import com.google.analytics.admin.v1alpha.DeleteAccountRequest;
import com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest;
import com.google.analytics.admin.v1alpha.DeleteConversionEventRequest;
+import com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest;
+import com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest;
import com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest;
import com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest;
import com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest;
@@ -68,6 +78,8 @@
import com.google.analytics.admin.v1alpha.DeletePropertyRequest;
import com.google.analytics.admin.v1alpha.DeleteUserLinkRequest;
import com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest;
+import com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink;
+import com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal;
import com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings;
import com.google.analytics.admin.v1alpha.FirebaseLink;
import com.google.analytics.admin.v1alpha.GetAccountRequest;
@@ -75,7 +87,10 @@
import com.google.analytics.admin.v1alpha.GetConversionEventRequest;
import com.google.analytics.admin.v1alpha.GetCustomDimensionRequest;
import com.google.analytics.admin.v1alpha.GetCustomMetricRequest;
+import com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest;
import com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest;
+import com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest;
+import com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest;
import com.google.analytics.admin.v1alpha.GetEnhancedMeasurementSettingsRequest;
import com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest;
import com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest;
@@ -100,6 +115,10 @@
import com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse;
import com.google.analytics.admin.v1alpha.ListCustomMetricsRequest;
import com.google.analytics.admin.v1alpha.ListCustomMetricsResponse;
+import com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest;
+import com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse;
+import com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest;
+import com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse;
import com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest;
import com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse;
import com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest;
@@ -124,8 +143,9 @@
import com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest;
import com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest;
import com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest;
+import com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest;
+import com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest;
import com.google.analytics.admin.v1alpha.UpdateEnhancedMeasurementSettingsRequest;
-import com.google.analytics.admin.v1alpha.UpdateFirebaseLinkRequest;
import com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest;
import com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest;
import com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest;
@@ -358,10 +378,6 @@ public UnaryCallable createFirebaseLink
throw new UnsupportedOperationException("Not implemented: createFirebaseLinkCallable()");
}
- public UnaryCallable updateFirebaseLinkCallable() {
- throw new UnsupportedOperationException("Not implemented: updateFirebaseLinkCallable()");
- }
-
public UnaryCallable deleteFirebaseLinkCallable() {
throw new UnsupportedOperationException("Not implemented: deleteFirebaseLinkCallable()");
}
@@ -490,6 +506,96 @@ public UnaryCallable deleteConversionEventC
throw new UnsupportedOperationException("Not implemented: listConversionEventsCallable()");
}
+ public UnaryCallable
+ getDisplayVideo360AdvertiserLinkCallable() {
+ throw new UnsupportedOperationException(
+ "Not implemented: getDisplayVideo360AdvertiserLinkCallable()");
+ }
+
+ public UnaryCallable<
+ ListDisplayVideo360AdvertiserLinksRequest,
+ ListDisplayVideo360AdvertiserLinksPagedResponse>
+ listDisplayVideo360AdvertiserLinksPagedCallable() {
+ throw new UnsupportedOperationException(
+ "Not implemented: listDisplayVideo360AdvertiserLinksPagedCallable()");
+ }
+
+ public UnaryCallable<
+ ListDisplayVideo360AdvertiserLinksRequest, ListDisplayVideo360AdvertiserLinksResponse>
+ listDisplayVideo360AdvertiserLinksCallable() {
+ throw new UnsupportedOperationException(
+ "Not implemented: listDisplayVideo360AdvertiserLinksCallable()");
+ }
+
+ public UnaryCallable
+ createDisplayVideo360AdvertiserLinkCallable() {
+ throw new UnsupportedOperationException(
+ "Not implemented: createDisplayVideo360AdvertiserLinkCallable()");
+ }
+
+ public UnaryCallable
+ deleteDisplayVideo360AdvertiserLinkCallable() {
+ throw new UnsupportedOperationException(
+ "Not implemented: deleteDisplayVideo360AdvertiserLinkCallable()");
+ }
+
+ public UnaryCallable
+ updateDisplayVideo360AdvertiserLinkCallable() {
+ throw new UnsupportedOperationException(
+ "Not implemented: updateDisplayVideo360AdvertiserLinkCallable()");
+ }
+
+ public UnaryCallable<
+ GetDisplayVideo360AdvertiserLinkProposalRequest, DisplayVideo360AdvertiserLinkProposal>
+ getDisplayVideo360AdvertiserLinkProposalCallable() {
+ throw new UnsupportedOperationException(
+ "Not implemented: getDisplayVideo360AdvertiserLinkProposalCallable()");
+ }
+
+ public UnaryCallable<
+ ListDisplayVideo360AdvertiserLinkProposalsRequest,
+ ListDisplayVideo360AdvertiserLinkProposalsPagedResponse>
+ listDisplayVideo360AdvertiserLinkProposalsPagedCallable() {
+ throw new UnsupportedOperationException(
+ "Not implemented: listDisplayVideo360AdvertiserLinkProposalsPagedCallable()");
+ }
+
+ public UnaryCallable<
+ ListDisplayVideo360AdvertiserLinkProposalsRequest,
+ ListDisplayVideo360AdvertiserLinkProposalsResponse>
+ listDisplayVideo360AdvertiserLinkProposalsCallable() {
+ throw new UnsupportedOperationException(
+ "Not implemented: listDisplayVideo360AdvertiserLinkProposalsCallable()");
+ }
+
+ public UnaryCallable<
+ CreateDisplayVideo360AdvertiserLinkProposalRequest, DisplayVideo360AdvertiserLinkProposal>
+ createDisplayVideo360AdvertiserLinkProposalCallable() {
+ throw new UnsupportedOperationException(
+ "Not implemented: createDisplayVideo360AdvertiserLinkProposalCallable()");
+ }
+
+ public UnaryCallable
+ deleteDisplayVideo360AdvertiserLinkProposalCallable() {
+ throw new UnsupportedOperationException(
+ "Not implemented: deleteDisplayVideo360AdvertiserLinkProposalCallable()");
+ }
+
+ public UnaryCallable<
+ ApproveDisplayVideo360AdvertiserLinkProposalRequest,
+ ApproveDisplayVideo360AdvertiserLinkProposalResponse>
+ approveDisplayVideo360AdvertiserLinkProposalCallable() {
+ throw new UnsupportedOperationException(
+ "Not implemented: approveDisplayVideo360AdvertiserLinkProposalCallable()");
+ }
+
+ public UnaryCallable<
+ CancelDisplayVideo360AdvertiserLinkProposalRequest, DisplayVideo360AdvertiserLinkProposal>
+ cancelDisplayVideo360AdvertiserLinkProposalCallable() {
+ throw new UnsupportedOperationException(
+ "Not implemented: cancelDisplayVideo360AdvertiserLinkProposalCallable()");
+ }
+
public UnaryCallable
createCustomDimensionCallable() {
throw new UnsupportedOperationException("Not implemented: createCustomDimensionCallable()");
@@ -544,6 +650,17 @@ public UnaryCallable getCustomMetricCallab
throw new UnsupportedOperationException("Not implemented: getCustomMetricCallable()");
}
+ public UnaryCallable
+ getDataRetentionSettingsCallable() {
+ throw new UnsupportedOperationException("Not implemented: getDataRetentionSettingsCallable()");
+ }
+
+ public UnaryCallable
+ updateDataRetentionSettingsCallable() {
+ throw new UnsupportedOperationException(
+ "Not implemented: updateDataRetentionSettingsCallable()");
+ }
+
@Override
public abstract void close();
}
diff --git a/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/AnalyticsAdminServiceStubSettings.java b/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/AnalyticsAdminServiceStubSettings.java
index 8d538243..15104002 100644
--- a/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/AnalyticsAdminServiceStubSettings.java
+++ b/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/AnalyticsAdminServiceStubSettings.java
@@ -23,6 +23,8 @@
import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListConversionEventsPagedResponse;
import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListCustomDimensionsPagedResponse;
import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListCustomMetricsPagedResponse;
+import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListDisplayVideo360AdvertiserLinkProposalsPagedResponse;
+import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListDisplayVideo360AdvertiserLinksPagedResponse;
import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListFirebaseLinksPagedResponse;
import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListGoogleAdsLinksPagedResponse;
import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListIosAppDataStreamsPagedResponse;
@@ -35,6 +37,8 @@
import com.google.analytics.admin.v1alpha.Account;
import com.google.analytics.admin.v1alpha.AccountSummary;
import com.google.analytics.admin.v1alpha.AndroidAppDataStream;
+import com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest;
+import com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse;
import com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest;
import com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest;
import com.google.analytics.admin.v1alpha.AuditUserLink;
@@ -47,11 +51,14 @@
import com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse;
import com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest;
import com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse;
+import com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest;
import com.google.analytics.admin.v1alpha.ChangeHistoryEvent;
import com.google.analytics.admin.v1alpha.ConversionEvent;
import com.google.analytics.admin.v1alpha.CreateConversionEventRequest;
import com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest;
import com.google.analytics.admin.v1alpha.CreateCustomMetricRequest;
+import com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest;
+import com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest;
import com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest;
import com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest;
import com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest;
@@ -60,10 +67,13 @@
import com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest;
import com.google.analytics.admin.v1alpha.CustomDimension;
import com.google.analytics.admin.v1alpha.CustomMetric;
+import com.google.analytics.admin.v1alpha.DataRetentionSettings;
import com.google.analytics.admin.v1alpha.DataSharingSettings;
import com.google.analytics.admin.v1alpha.DeleteAccountRequest;
import com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest;
import com.google.analytics.admin.v1alpha.DeleteConversionEventRequest;
+import com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest;
+import com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest;
import com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest;
import com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest;
import com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest;
@@ -71,6 +81,8 @@
import com.google.analytics.admin.v1alpha.DeletePropertyRequest;
import com.google.analytics.admin.v1alpha.DeleteUserLinkRequest;
import com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest;
+import com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink;
+import com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal;
import com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings;
import com.google.analytics.admin.v1alpha.FirebaseLink;
import com.google.analytics.admin.v1alpha.GetAccountRequest;
@@ -78,7 +90,10 @@
import com.google.analytics.admin.v1alpha.GetConversionEventRequest;
import com.google.analytics.admin.v1alpha.GetCustomDimensionRequest;
import com.google.analytics.admin.v1alpha.GetCustomMetricRequest;
+import com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest;
import com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest;
+import com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest;
+import com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest;
import com.google.analytics.admin.v1alpha.GetEnhancedMeasurementSettingsRequest;
import com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest;
import com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest;
@@ -103,6 +118,10 @@
import com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse;
import com.google.analytics.admin.v1alpha.ListCustomMetricsRequest;
import com.google.analytics.admin.v1alpha.ListCustomMetricsResponse;
+import com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest;
+import com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse;
+import com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest;
+import com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse;
import com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest;
import com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse;
import com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest;
@@ -127,8 +146,9 @@
import com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest;
import com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest;
import com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest;
+import com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest;
+import com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest;
import com.google.analytics.admin.v1alpha.UpdateEnhancedMeasurementSettingsRequest;
-import com.google.analytics.admin.v1alpha.UpdateFirebaseLinkRequest;
import com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest;
import com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest;
import com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest;
@@ -293,8 +313,6 @@ public class AnalyticsAdminServiceStubSettings
updateEnhancedMeasurementSettingsSettings;
private final UnaryCallSettings
createFirebaseLinkSettings;
- private final UnaryCallSettings
- updateFirebaseLinkSettings;
private final UnaryCallSettings deleteFirebaseLinkSettings;
private final PagedCallSettings<
ListFirebaseLinksRequest, ListFirebaseLinksResponse, ListFirebaseLinksPagedResponse>
@@ -343,6 +361,42 @@ public class AnalyticsAdminServiceStubSettings
ListConversionEventsResponse,
ListConversionEventsPagedResponse>
listConversionEventsSettings;
+ private final UnaryCallSettings<
+ GetDisplayVideo360AdvertiserLinkRequest, DisplayVideo360AdvertiserLink>
+ getDisplayVideo360AdvertiserLinkSettings;
+ private final PagedCallSettings<
+ ListDisplayVideo360AdvertiserLinksRequest,
+ ListDisplayVideo360AdvertiserLinksResponse,
+ ListDisplayVideo360AdvertiserLinksPagedResponse>
+ listDisplayVideo360AdvertiserLinksSettings;
+ private final UnaryCallSettings<
+ CreateDisplayVideo360AdvertiserLinkRequest, DisplayVideo360AdvertiserLink>
+ createDisplayVideo360AdvertiserLinkSettings;
+ private final UnaryCallSettings
+ deleteDisplayVideo360AdvertiserLinkSettings;
+ private final UnaryCallSettings<
+ UpdateDisplayVideo360AdvertiserLinkRequest, DisplayVideo360AdvertiserLink>
+ updateDisplayVideo360AdvertiserLinkSettings;
+ private final UnaryCallSettings<
+ GetDisplayVideo360AdvertiserLinkProposalRequest, DisplayVideo360AdvertiserLinkProposal>
+ getDisplayVideo360AdvertiserLinkProposalSettings;
+ private final PagedCallSettings<
+ ListDisplayVideo360AdvertiserLinkProposalsRequest,
+ ListDisplayVideo360AdvertiserLinkProposalsResponse,
+ ListDisplayVideo360AdvertiserLinkProposalsPagedResponse>
+ listDisplayVideo360AdvertiserLinkProposalsSettings;
+ private final UnaryCallSettings<
+ CreateDisplayVideo360AdvertiserLinkProposalRequest, DisplayVideo360AdvertiserLinkProposal>
+ createDisplayVideo360AdvertiserLinkProposalSettings;
+ private final UnaryCallSettings
+ deleteDisplayVideo360AdvertiserLinkProposalSettings;
+ private final UnaryCallSettings<
+ ApproveDisplayVideo360AdvertiserLinkProposalRequest,
+ ApproveDisplayVideo360AdvertiserLinkProposalResponse>
+ approveDisplayVideo360AdvertiserLinkProposalSettings;
+ private final UnaryCallSettings<
+ CancelDisplayVideo360AdvertiserLinkProposalRequest, DisplayVideo360AdvertiserLinkProposal>
+ cancelDisplayVideo360AdvertiserLinkProposalSettings;
private final UnaryCallSettings
createCustomDimensionSettings;
private final UnaryCallSettings
@@ -365,6 +419,10 @@ public class AnalyticsAdminServiceStubSettings
listCustomMetricsSettings;
private final UnaryCallSettings archiveCustomMetricSettings;
private final UnaryCallSettings getCustomMetricSettings;
+ private final UnaryCallSettings
+ getDataRetentionSettingsSettings;
+ private final UnaryCallSettings
+ updateDataRetentionSettingsSettings;
private static final PagedListDescriptor
LIST_ACCOUNTS_PAGE_STR_DESC =
@@ -898,6 +956,106 @@ public Iterable extractResources(
}
};
+ private static final PagedListDescriptor<
+ ListDisplayVideo360AdvertiserLinksRequest,
+ ListDisplayVideo360AdvertiserLinksResponse,
+ DisplayVideo360AdvertiserLink>
+ LIST_DISPLAY_VIDEO360_ADVERTISER_LINKS_PAGE_STR_DESC =
+ new PagedListDescriptor<
+ ListDisplayVideo360AdvertiserLinksRequest,
+ ListDisplayVideo360AdvertiserLinksResponse,
+ DisplayVideo360AdvertiserLink>() {
+ @Override
+ public String emptyToken() {
+ return "";
+ }
+
+ @Override
+ public ListDisplayVideo360AdvertiserLinksRequest injectToken(
+ ListDisplayVideo360AdvertiserLinksRequest payload, String token) {
+ return ListDisplayVideo360AdvertiserLinksRequest.newBuilder(payload)
+ .setPageToken(token)
+ .build();
+ }
+
+ @Override
+ public ListDisplayVideo360AdvertiserLinksRequest injectPageSize(
+ ListDisplayVideo360AdvertiserLinksRequest payload, int pageSize) {
+ return ListDisplayVideo360AdvertiserLinksRequest.newBuilder(payload)
+ .setPageSize(pageSize)
+ .build();
+ }
+
+ @Override
+ public Integer extractPageSize(ListDisplayVideo360AdvertiserLinksRequest payload) {
+ return payload.getPageSize();
+ }
+
+ @Override
+ public String extractNextToken(ListDisplayVideo360AdvertiserLinksResponse payload) {
+ return payload.getNextPageToken();
+ }
+
+ @Override
+ public Iterable extractResources(
+ ListDisplayVideo360AdvertiserLinksResponse payload) {
+ return payload.getDisplayVideo360AdvertiserLinksList() == null
+ ? ImmutableList.of()
+ : payload.getDisplayVideo360AdvertiserLinksList();
+ }
+ };
+
+ private static final PagedListDescriptor<
+ ListDisplayVideo360AdvertiserLinkProposalsRequest,
+ ListDisplayVideo360AdvertiserLinkProposalsResponse,
+ DisplayVideo360AdvertiserLinkProposal>
+ LIST_DISPLAY_VIDEO360_ADVERTISER_LINK_PROPOSALS_PAGE_STR_DESC =
+ new PagedListDescriptor<
+ ListDisplayVideo360AdvertiserLinkProposalsRequest,
+ ListDisplayVideo360AdvertiserLinkProposalsResponse,
+ DisplayVideo360AdvertiserLinkProposal>() {
+ @Override
+ public String emptyToken() {
+ return "";
+ }
+
+ @Override
+ public ListDisplayVideo360AdvertiserLinkProposalsRequest injectToken(
+ ListDisplayVideo360AdvertiserLinkProposalsRequest payload, String token) {
+ return ListDisplayVideo360AdvertiserLinkProposalsRequest.newBuilder(payload)
+ .setPageToken(token)
+ .build();
+ }
+
+ @Override
+ public ListDisplayVideo360AdvertiserLinkProposalsRequest injectPageSize(
+ ListDisplayVideo360AdvertiserLinkProposalsRequest payload, int pageSize) {
+ return ListDisplayVideo360AdvertiserLinkProposalsRequest.newBuilder(payload)
+ .setPageSize(pageSize)
+ .build();
+ }
+
+ @Override
+ public Integer extractPageSize(
+ ListDisplayVideo360AdvertiserLinkProposalsRequest payload) {
+ return payload.getPageSize();
+ }
+
+ @Override
+ public String extractNextToken(
+ ListDisplayVideo360AdvertiserLinkProposalsResponse payload) {
+ return payload.getNextPageToken();
+ }
+
+ @Override
+ public Iterable extractResources(
+ ListDisplayVideo360AdvertiserLinkProposalsResponse payload) {
+ return payload.getDisplayVideo360AdvertiserLinkProposalsList() == null
+ ? ImmutableList.of()
+ : payload.getDisplayVideo360AdvertiserLinkProposalsList();
+ }
+ };
+
private static final PagedListDescriptor<
ListCustomDimensionsRequest, ListCustomDimensionsResponse, CustomDimension>
LIST_CUSTOM_DIMENSIONS_PAGE_STR_DESC =
@@ -1272,6 +1430,74 @@ public ApiFuture getFuturePagedResponse(
}
};
+ private static final PagedListResponseFactory<
+ ListDisplayVideo360AdvertiserLinksRequest,
+ ListDisplayVideo360AdvertiserLinksResponse,
+ ListDisplayVideo360AdvertiserLinksPagedResponse>
+ LIST_DISPLAY_VIDEO360_ADVERTISER_LINKS_PAGE_STR_FACT =
+ new PagedListResponseFactory<
+ ListDisplayVideo360AdvertiserLinksRequest,
+ ListDisplayVideo360AdvertiserLinksResponse,
+ ListDisplayVideo360AdvertiserLinksPagedResponse>() {
+ @Override
+ public ApiFuture
+ getFuturePagedResponse(
+ UnaryCallable<
+ ListDisplayVideo360AdvertiserLinksRequest,
+ ListDisplayVideo360AdvertiserLinksResponse>
+ callable,
+ ListDisplayVideo360AdvertiserLinksRequest request,
+ ApiCallContext context,
+ ApiFuture futureResponse) {
+ PageContext<
+ ListDisplayVideo360AdvertiserLinksRequest,
+ ListDisplayVideo360AdvertiserLinksResponse,
+ DisplayVideo360AdvertiserLink>
+ pageContext =
+ PageContext.create(
+ callable,
+ LIST_DISPLAY_VIDEO360_ADVERTISER_LINKS_PAGE_STR_DESC,
+ request,
+ context);
+ return ListDisplayVideo360AdvertiserLinksPagedResponse.createAsync(
+ pageContext, futureResponse);
+ }
+ };
+
+ private static final PagedListResponseFactory<
+ ListDisplayVideo360AdvertiserLinkProposalsRequest,
+ ListDisplayVideo360AdvertiserLinkProposalsResponse,
+ ListDisplayVideo360AdvertiserLinkProposalsPagedResponse>
+ LIST_DISPLAY_VIDEO360_ADVERTISER_LINK_PROPOSALS_PAGE_STR_FACT =
+ new PagedListResponseFactory<
+ ListDisplayVideo360AdvertiserLinkProposalsRequest,
+ ListDisplayVideo360AdvertiserLinkProposalsResponse,
+ ListDisplayVideo360AdvertiserLinkProposalsPagedResponse>() {
+ @Override
+ public ApiFuture
+ getFuturePagedResponse(
+ UnaryCallable<
+ ListDisplayVideo360AdvertiserLinkProposalsRequest,
+ ListDisplayVideo360AdvertiserLinkProposalsResponse>
+ callable,
+ ListDisplayVideo360AdvertiserLinkProposalsRequest request,
+ ApiCallContext context,
+ ApiFuture futureResponse) {
+ PageContext<
+ ListDisplayVideo360AdvertiserLinkProposalsRequest,
+ ListDisplayVideo360AdvertiserLinkProposalsResponse,
+ DisplayVideo360AdvertiserLinkProposal>
+ pageContext =
+ PageContext.create(
+ callable,
+ LIST_DISPLAY_VIDEO360_ADVERTISER_LINK_PROPOSALS_PAGE_STR_DESC,
+ request,
+ context);
+ return ListDisplayVideo360AdvertiserLinkProposalsPagedResponse.createAsync(
+ pageContext, futureResponse);
+ }
+ };
+
private static final PagedListResponseFactory<
ListCustomDimensionsRequest,
ListCustomDimensionsResponse,
@@ -1535,11 +1761,6 @@ public UnaryCallSettings createFirebase
return createFirebaseLinkSettings;
}
- /** Returns the object with the settings used for calls to updateFirebaseLink. */
- public UnaryCallSettings updateFirebaseLinkSettings() {
- return updateFirebaseLinkSettings;
- }
-
/** Returns the object with the settings used for calls to deleteFirebaseLink. */
public UnaryCallSettings deleteFirebaseLinkSettings() {
return deleteFirebaseLinkSettings;
@@ -1667,6 +1888,103 @@ public UnaryCallSettings deleteConversionEv
return listConversionEventsSettings;
}
+ /** Returns the object with the settings used for calls to getDisplayVideo360AdvertiserLink. */
+ public UnaryCallSettings
+ getDisplayVideo360AdvertiserLinkSettings() {
+ return getDisplayVideo360AdvertiserLinkSettings;
+ }
+
+ /** Returns the object with the settings used for calls to listDisplayVideo360AdvertiserLinks. */
+ public PagedCallSettings<
+ ListDisplayVideo360AdvertiserLinksRequest,
+ ListDisplayVideo360AdvertiserLinksResponse,
+ ListDisplayVideo360AdvertiserLinksPagedResponse>
+ listDisplayVideo360AdvertiserLinksSettings() {
+ return listDisplayVideo360AdvertiserLinksSettings;
+ }
+
+ /** Returns the object with the settings used for calls to createDisplayVideo360AdvertiserLink. */
+ public UnaryCallSettings<
+ CreateDisplayVideo360AdvertiserLinkRequest, DisplayVideo360AdvertiserLink>
+ createDisplayVideo360AdvertiserLinkSettings() {
+ return createDisplayVideo360AdvertiserLinkSettings;
+ }
+
+ /** Returns the object with the settings used for calls to deleteDisplayVideo360AdvertiserLink. */
+ public UnaryCallSettings
+ deleteDisplayVideo360AdvertiserLinkSettings() {
+ return deleteDisplayVideo360AdvertiserLinkSettings;
+ }
+
+ /** Returns the object with the settings used for calls to updateDisplayVideo360AdvertiserLink. */
+ public UnaryCallSettings<
+ UpdateDisplayVideo360AdvertiserLinkRequest, DisplayVideo360AdvertiserLink>
+ updateDisplayVideo360AdvertiserLinkSettings() {
+ return updateDisplayVideo360AdvertiserLinkSettings;
+ }
+
+ /**
+ * Returns the object with the settings used for calls to
+ * getDisplayVideo360AdvertiserLinkProposal.
+ */
+ public UnaryCallSettings<
+ GetDisplayVideo360AdvertiserLinkProposalRequest, DisplayVideo360AdvertiserLinkProposal>
+ getDisplayVideo360AdvertiserLinkProposalSettings() {
+ return getDisplayVideo360AdvertiserLinkProposalSettings;
+ }
+
+ /**
+ * Returns the object with the settings used for calls to
+ * listDisplayVideo360AdvertiserLinkProposals.
+ */
+ public PagedCallSettings<
+ ListDisplayVideo360AdvertiserLinkProposalsRequest,
+ ListDisplayVideo360AdvertiserLinkProposalsResponse,
+ ListDisplayVideo360AdvertiserLinkProposalsPagedResponse>
+ listDisplayVideo360AdvertiserLinkProposalsSettings() {
+ return listDisplayVideo360AdvertiserLinkProposalsSettings;
+ }
+
+ /**
+ * Returns the object with the settings used for calls to
+ * createDisplayVideo360AdvertiserLinkProposal.
+ */
+ public UnaryCallSettings<
+ CreateDisplayVideo360AdvertiserLinkProposalRequest, DisplayVideo360AdvertiserLinkProposal>
+ createDisplayVideo360AdvertiserLinkProposalSettings() {
+ return createDisplayVideo360AdvertiserLinkProposalSettings;
+ }
+
+ /**
+ * Returns the object with the settings used for calls to
+ * deleteDisplayVideo360AdvertiserLinkProposal.
+ */
+ public UnaryCallSettings
+ deleteDisplayVideo360AdvertiserLinkProposalSettings() {
+ return deleteDisplayVideo360AdvertiserLinkProposalSettings;
+ }
+
+ /**
+ * Returns the object with the settings used for calls to
+ * approveDisplayVideo360AdvertiserLinkProposal.
+ */
+ public UnaryCallSettings<
+ ApproveDisplayVideo360AdvertiserLinkProposalRequest,
+ ApproveDisplayVideo360AdvertiserLinkProposalResponse>
+ approveDisplayVideo360AdvertiserLinkProposalSettings() {
+ return approveDisplayVideo360AdvertiserLinkProposalSettings;
+ }
+
+ /**
+ * Returns the object with the settings used for calls to
+ * cancelDisplayVideo360AdvertiserLinkProposal.
+ */
+ public UnaryCallSettings<
+ CancelDisplayVideo360AdvertiserLinkProposalRequest, DisplayVideo360AdvertiserLinkProposal>
+ cancelDisplayVideo360AdvertiserLinkProposalSettings() {
+ return cancelDisplayVideo360AdvertiserLinkProposalSettings;
+ }
+
/** Returns the object with the settings used for calls to createCustomDimension. */
public UnaryCallSettings
createCustomDimensionSettings() {
@@ -1726,6 +2044,18 @@ public UnaryCallSettings getCustomMetricSe
return getCustomMetricSettings;
}
+ /** Returns the object with the settings used for calls to getDataRetentionSettings. */
+ public UnaryCallSettings
+ getDataRetentionSettingsSettings() {
+ return getDataRetentionSettingsSettings;
+ }
+
+ /** Returns the object with the settings used for calls to updateDataRetentionSettings. */
+ public UnaryCallSettings
+ updateDataRetentionSettingsSettings() {
+ return updateDataRetentionSettingsSettings;
+ }
+
@BetaApi("A restructuring of stub classes is planned, so this may break in the future")
public AnalyticsAdminServiceStub createStub() throws IOException {
if (getTransportChannelProvider()
@@ -1760,7 +2090,9 @@ public static List getDefaultServiceScopes() {
/** Returns a builder for the default credentials for this service. */
public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder() {
- return GoogleCredentialsProvider.newBuilder().setScopesToApply(DEFAULT_SERVICE_SCOPES);
+ return GoogleCredentialsProvider.newBuilder()
+ .setScopesToApply(DEFAULT_SERVICE_SCOPES)
+ .setUseJwtAccessWithScope(true);
}
/** Returns a builder for the default ChannelProvider for this service. */
@@ -1841,7 +2173,6 @@ protected AnalyticsAdminServiceStubSettings(Builder settingsBuilder) throws IOEx
updateEnhancedMeasurementSettingsSettings =
settingsBuilder.updateEnhancedMeasurementSettingsSettings().build();
createFirebaseLinkSettings = settingsBuilder.createFirebaseLinkSettings().build();
- updateFirebaseLinkSettings = settingsBuilder.updateFirebaseLinkSettings().build();
deleteFirebaseLinkSettings = settingsBuilder.deleteFirebaseLinkSettings().build();
listFirebaseLinksSettings = settingsBuilder.listFirebaseLinksSettings().build();
getGlobalSiteTagSettings = settingsBuilder.getGlobalSiteTagSettings().build();
@@ -1868,6 +2199,28 @@ protected AnalyticsAdminServiceStubSettings(Builder settingsBuilder) throws IOEx
getConversionEventSettings = settingsBuilder.getConversionEventSettings().build();
deleteConversionEventSettings = settingsBuilder.deleteConversionEventSettings().build();
listConversionEventsSettings = settingsBuilder.listConversionEventsSettings().build();
+ getDisplayVideo360AdvertiserLinkSettings =
+ settingsBuilder.getDisplayVideo360AdvertiserLinkSettings().build();
+ listDisplayVideo360AdvertiserLinksSettings =
+ settingsBuilder.listDisplayVideo360AdvertiserLinksSettings().build();
+ createDisplayVideo360AdvertiserLinkSettings =
+ settingsBuilder.createDisplayVideo360AdvertiserLinkSettings().build();
+ deleteDisplayVideo360AdvertiserLinkSettings =
+ settingsBuilder.deleteDisplayVideo360AdvertiserLinkSettings().build();
+ updateDisplayVideo360AdvertiserLinkSettings =
+ settingsBuilder.updateDisplayVideo360AdvertiserLinkSettings().build();
+ getDisplayVideo360AdvertiserLinkProposalSettings =
+ settingsBuilder.getDisplayVideo360AdvertiserLinkProposalSettings().build();
+ listDisplayVideo360AdvertiserLinkProposalsSettings =
+ settingsBuilder.listDisplayVideo360AdvertiserLinkProposalsSettings().build();
+ createDisplayVideo360AdvertiserLinkProposalSettings =
+ settingsBuilder.createDisplayVideo360AdvertiserLinkProposalSettings().build();
+ deleteDisplayVideo360AdvertiserLinkProposalSettings =
+ settingsBuilder.deleteDisplayVideo360AdvertiserLinkProposalSettings().build();
+ approveDisplayVideo360AdvertiserLinkProposalSettings =
+ settingsBuilder.approveDisplayVideo360AdvertiserLinkProposalSettings().build();
+ cancelDisplayVideo360AdvertiserLinkProposalSettings =
+ settingsBuilder.cancelDisplayVideo360AdvertiserLinkProposalSettings().build();
createCustomDimensionSettings = settingsBuilder.createCustomDimensionSettings().build();
updateCustomDimensionSettings = settingsBuilder.updateCustomDimensionSettings().build();
listCustomDimensionsSettings = settingsBuilder.listCustomDimensionsSettings().build();
@@ -1878,6 +2231,9 @@ protected AnalyticsAdminServiceStubSettings(Builder settingsBuilder) throws IOEx
listCustomMetricsSettings = settingsBuilder.listCustomMetricsSettings().build();
archiveCustomMetricSettings = settingsBuilder.archiveCustomMetricSettings().build();
getCustomMetricSettings = settingsBuilder.getCustomMetricSettings().build();
+ getDataRetentionSettingsSettings = settingsBuilder.getDataRetentionSettingsSettings().build();
+ updateDataRetentionSettingsSettings =
+ settingsBuilder.updateDataRetentionSettingsSettings().build();
}
/** Builder for AnalyticsAdminServiceStubSettings. */
@@ -1966,8 +2322,6 @@ public static class Builder
updateEnhancedMeasurementSettingsSettings;
private final UnaryCallSettings.Builder
createFirebaseLinkSettings;
- private final UnaryCallSettings.Builder
- updateFirebaseLinkSettings;
private final UnaryCallSettings.Builder
deleteFirebaseLinkSettings;
private final PagedCallSettings.Builder<
@@ -2023,6 +2377,45 @@ public static class Builder
ListConversionEventsResponse,
ListConversionEventsPagedResponse>
listConversionEventsSettings;
+ private final UnaryCallSettings.Builder<
+ GetDisplayVideo360AdvertiserLinkRequest, DisplayVideo360AdvertiserLink>
+ getDisplayVideo360AdvertiserLinkSettings;
+ private final PagedCallSettings.Builder<
+ ListDisplayVideo360AdvertiserLinksRequest,
+ ListDisplayVideo360AdvertiserLinksResponse,
+ ListDisplayVideo360AdvertiserLinksPagedResponse>
+ listDisplayVideo360AdvertiserLinksSettings;
+ private final UnaryCallSettings.Builder<
+ CreateDisplayVideo360AdvertiserLinkRequest, DisplayVideo360AdvertiserLink>
+ createDisplayVideo360AdvertiserLinkSettings;
+ private final UnaryCallSettings.Builder
+ deleteDisplayVideo360AdvertiserLinkSettings;
+ private final UnaryCallSettings.Builder<
+ UpdateDisplayVideo360AdvertiserLinkRequest, DisplayVideo360AdvertiserLink>
+ updateDisplayVideo360AdvertiserLinkSettings;
+ private final UnaryCallSettings.Builder<
+ GetDisplayVideo360AdvertiserLinkProposalRequest, DisplayVideo360AdvertiserLinkProposal>
+ getDisplayVideo360AdvertiserLinkProposalSettings;
+ private final PagedCallSettings.Builder<
+ ListDisplayVideo360AdvertiserLinkProposalsRequest,
+ ListDisplayVideo360AdvertiserLinkProposalsResponse,
+ ListDisplayVideo360AdvertiserLinkProposalsPagedResponse>
+ listDisplayVideo360AdvertiserLinkProposalsSettings;
+ private final UnaryCallSettings.Builder<
+ CreateDisplayVideo360AdvertiserLinkProposalRequest,
+ DisplayVideo360AdvertiserLinkProposal>
+ createDisplayVideo360AdvertiserLinkProposalSettings;
+ private final UnaryCallSettings.Builder<
+ DeleteDisplayVideo360AdvertiserLinkProposalRequest, Empty>
+ deleteDisplayVideo360AdvertiserLinkProposalSettings;
+ private final UnaryCallSettings.Builder<
+ ApproveDisplayVideo360AdvertiserLinkProposalRequest,
+ ApproveDisplayVideo360AdvertiserLinkProposalResponse>
+ approveDisplayVideo360AdvertiserLinkProposalSettings;
+ private final UnaryCallSettings.Builder<
+ CancelDisplayVideo360AdvertiserLinkProposalRequest,
+ DisplayVideo360AdvertiserLinkProposal>
+ cancelDisplayVideo360AdvertiserLinkProposalSettings;
private final UnaryCallSettings.Builder
createCustomDimensionSettings;
private final UnaryCallSettings.Builder
@@ -2047,6 +2440,11 @@ public static class Builder
archiveCustomMetricSettings;
private final UnaryCallSettings.Builder
getCustomMetricSettings;
+ private final UnaryCallSettings.Builder
+ getDataRetentionSettingsSettings;
+ private final UnaryCallSettings.Builder<
+ UpdateDataRetentionSettingsRequest, DataRetentionSettings>
+ updateDataRetentionSettingsSettings;
private static final ImmutableMap>
RETRYABLE_CODE_DEFINITIONS;
@@ -2138,7 +2536,6 @@ protected Builder(ClientContext clientContext) {
getEnhancedMeasurementSettingsSettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
updateEnhancedMeasurementSettingsSettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
createFirebaseLinkSettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
- updateFirebaseLinkSettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
deleteFirebaseLinkSettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
listFirebaseLinksSettings = PagedCallSettings.newBuilder(LIST_FIREBASE_LINKS_PAGE_STR_FACT);
getGlobalSiteTagSettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
@@ -2163,6 +2560,25 @@ protected Builder(ClientContext clientContext) {
deleteConversionEventSettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
listConversionEventsSettings =
PagedCallSettings.newBuilder(LIST_CONVERSION_EVENTS_PAGE_STR_FACT);
+ getDisplayVideo360AdvertiserLinkSettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
+ listDisplayVideo360AdvertiserLinksSettings =
+ PagedCallSettings.newBuilder(LIST_DISPLAY_VIDEO360_ADVERTISER_LINKS_PAGE_STR_FACT);
+ createDisplayVideo360AdvertiserLinkSettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
+ deleteDisplayVideo360AdvertiserLinkSettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
+ updateDisplayVideo360AdvertiserLinkSettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
+ getDisplayVideo360AdvertiserLinkProposalSettings =
+ UnaryCallSettings.newUnaryCallSettingsBuilder();
+ listDisplayVideo360AdvertiserLinkProposalsSettings =
+ PagedCallSettings.newBuilder(
+ LIST_DISPLAY_VIDEO360_ADVERTISER_LINK_PROPOSALS_PAGE_STR_FACT);
+ createDisplayVideo360AdvertiserLinkProposalSettings =
+ UnaryCallSettings.newUnaryCallSettingsBuilder();
+ deleteDisplayVideo360AdvertiserLinkProposalSettings =
+ UnaryCallSettings.newUnaryCallSettingsBuilder();
+ approveDisplayVideo360AdvertiserLinkProposalSettings =
+ UnaryCallSettings.newUnaryCallSettingsBuilder();
+ cancelDisplayVideo360AdvertiserLinkProposalSettings =
+ UnaryCallSettings.newUnaryCallSettingsBuilder();
createCustomDimensionSettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
updateCustomDimensionSettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
listCustomDimensionsSettings =
@@ -2174,6 +2590,8 @@ protected Builder(ClientContext clientContext) {
listCustomMetricsSettings = PagedCallSettings.newBuilder(LIST_CUSTOM_METRICS_PAGE_STR_FACT);
archiveCustomMetricSettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
getCustomMetricSettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
+ getDataRetentionSettingsSettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
+ updateDataRetentionSettingsSettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
unaryMethodSettingsBuilders =
ImmutableList.>of(
@@ -2214,7 +2632,6 @@ protected Builder(ClientContext clientContext) {
getEnhancedMeasurementSettingsSettings,
updateEnhancedMeasurementSettingsSettings,
createFirebaseLinkSettings,
- updateFirebaseLinkSettings,
deleteFirebaseLinkSettings,
listFirebaseLinksSettings,
getGlobalSiteTagSettings,
@@ -2235,6 +2652,17 @@ protected Builder(ClientContext clientContext) {
getConversionEventSettings,
deleteConversionEventSettings,
listConversionEventsSettings,
+ getDisplayVideo360AdvertiserLinkSettings,
+ listDisplayVideo360AdvertiserLinksSettings,
+ createDisplayVideo360AdvertiserLinkSettings,
+ deleteDisplayVideo360AdvertiserLinkSettings,
+ updateDisplayVideo360AdvertiserLinkSettings,
+ getDisplayVideo360AdvertiserLinkProposalSettings,
+ listDisplayVideo360AdvertiserLinkProposalsSettings,
+ createDisplayVideo360AdvertiserLinkProposalSettings,
+ deleteDisplayVideo360AdvertiserLinkProposalSettings,
+ approveDisplayVideo360AdvertiserLinkProposalSettings,
+ cancelDisplayVideo360AdvertiserLinkProposalSettings,
createCustomDimensionSettings,
updateCustomDimensionSettings,
listCustomDimensionsSettings,
@@ -2244,7 +2672,9 @@ protected Builder(ClientContext clientContext) {
updateCustomMetricSettings,
listCustomMetricsSettings,
archiveCustomMetricSettings,
- getCustomMetricSettings);
+ getCustomMetricSettings,
+ getDataRetentionSettingsSettings,
+ updateDataRetentionSettingsSettings);
initDefaults(this);
}
@@ -2290,7 +2720,6 @@ protected Builder(AnalyticsAdminServiceStubSettings settings) {
updateEnhancedMeasurementSettingsSettings =
settings.updateEnhancedMeasurementSettingsSettings.toBuilder();
createFirebaseLinkSettings = settings.createFirebaseLinkSettings.toBuilder();
- updateFirebaseLinkSettings = settings.updateFirebaseLinkSettings.toBuilder();
deleteFirebaseLinkSettings = settings.deleteFirebaseLinkSettings.toBuilder();
listFirebaseLinksSettings = settings.listFirebaseLinksSettings.toBuilder();
getGlobalSiteTagSettings = settings.getGlobalSiteTagSettings.toBuilder();
@@ -2317,6 +2746,28 @@ protected Builder(AnalyticsAdminServiceStubSettings settings) {
getConversionEventSettings = settings.getConversionEventSettings.toBuilder();
deleteConversionEventSettings = settings.deleteConversionEventSettings.toBuilder();
listConversionEventsSettings = settings.listConversionEventsSettings.toBuilder();
+ getDisplayVideo360AdvertiserLinkSettings =
+ settings.getDisplayVideo360AdvertiserLinkSettings.toBuilder();
+ listDisplayVideo360AdvertiserLinksSettings =
+ settings.listDisplayVideo360AdvertiserLinksSettings.toBuilder();
+ createDisplayVideo360AdvertiserLinkSettings =
+ settings.createDisplayVideo360AdvertiserLinkSettings.toBuilder();
+ deleteDisplayVideo360AdvertiserLinkSettings =
+ settings.deleteDisplayVideo360AdvertiserLinkSettings.toBuilder();
+ updateDisplayVideo360AdvertiserLinkSettings =
+ settings.updateDisplayVideo360AdvertiserLinkSettings.toBuilder();
+ getDisplayVideo360AdvertiserLinkProposalSettings =
+ settings.getDisplayVideo360AdvertiserLinkProposalSettings.toBuilder();
+ listDisplayVideo360AdvertiserLinkProposalsSettings =
+ settings.listDisplayVideo360AdvertiserLinkProposalsSettings.toBuilder();
+ createDisplayVideo360AdvertiserLinkProposalSettings =
+ settings.createDisplayVideo360AdvertiserLinkProposalSettings.toBuilder();
+ deleteDisplayVideo360AdvertiserLinkProposalSettings =
+ settings.deleteDisplayVideo360AdvertiserLinkProposalSettings.toBuilder();
+ approveDisplayVideo360AdvertiserLinkProposalSettings =
+ settings.approveDisplayVideo360AdvertiserLinkProposalSettings.toBuilder();
+ cancelDisplayVideo360AdvertiserLinkProposalSettings =
+ settings.cancelDisplayVideo360AdvertiserLinkProposalSettings.toBuilder();
createCustomDimensionSettings = settings.createCustomDimensionSettings.toBuilder();
updateCustomDimensionSettings = settings.updateCustomDimensionSettings.toBuilder();
listCustomDimensionsSettings = settings.listCustomDimensionsSettings.toBuilder();
@@ -2327,6 +2778,9 @@ protected Builder(AnalyticsAdminServiceStubSettings settings) {
listCustomMetricsSettings = settings.listCustomMetricsSettings.toBuilder();
archiveCustomMetricSettings = settings.archiveCustomMetricSettings.toBuilder();
getCustomMetricSettings = settings.getCustomMetricSettings.toBuilder();
+ getDataRetentionSettingsSettings = settings.getDataRetentionSettingsSettings.toBuilder();
+ updateDataRetentionSettingsSettings =
+ settings.updateDataRetentionSettingsSettings.toBuilder();
unaryMethodSettingsBuilders =
ImmutableList.>of(
@@ -2367,7 +2821,6 @@ protected Builder(AnalyticsAdminServiceStubSettings settings) {
getEnhancedMeasurementSettingsSettings,
updateEnhancedMeasurementSettingsSettings,
createFirebaseLinkSettings,
- updateFirebaseLinkSettings,
deleteFirebaseLinkSettings,
listFirebaseLinksSettings,
getGlobalSiteTagSettings,
@@ -2388,6 +2841,17 @@ protected Builder(AnalyticsAdminServiceStubSettings settings) {
getConversionEventSettings,
deleteConversionEventSettings,
listConversionEventsSettings,
+ getDisplayVideo360AdvertiserLinkSettings,
+ listDisplayVideo360AdvertiserLinksSettings,
+ createDisplayVideo360AdvertiserLinkSettings,
+ deleteDisplayVideo360AdvertiserLinkSettings,
+ updateDisplayVideo360AdvertiserLinkSettings,
+ getDisplayVideo360AdvertiserLinkProposalSettings,
+ listDisplayVideo360AdvertiserLinkProposalsSettings,
+ createDisplayVideo360AdvertiserLinkProposalSettings,
+ deleteDisplayVideo360AdvertiserLinkProposalSettings,
+ approveDisplayVideo360AdvertiserLinkProposalSettings,
+ cancelDisplayVideo360AdvertiserLinkProposalSettings,
createCustomDimensionSettings,
updateCustomDimensionSettings,
listCustomDimensionsSettings,
@@ -2397,7 +2861,9 @@ protected Builder(AnalyticsAdminServiceStubSettings settings) {
updateCustomMetricSettings,
listCustomMetricsSettings,
archiveCustomMetricSettings,
- getCustomMetricSettings);
+ getCustomMetricSettings,
+ getDataRetentionSettingsSettings,
+ updateDataRetentionSettingsSettings);
}
private static Builder createDefault() {
@@ -2599,11 +3065,6 @@ private static Builder initDefaults(Builder builder) {
.setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes"))
.setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params"));
- builder
- .updateFirebaseLinkSettings()
- .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes"))
- .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params"));
-
builder
.deleteFirebaseLinkSettings()
.setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes"))
@@ -2704,6 +3165,61 @@ 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
+ .getDisplayVideo360AdvertiserLinkSettings()
+ .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes"))
+ .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params"));
+
+ builder
+ .listDisplayVideo360AdvertiserLinksSettings()
+ .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes"))
+ .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params"));
+
+ builder
+ .createDisplayVideo360AdvertiserLinkSettings()
+ .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes"))
+ .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params"));
+
+ builder
+ .deleteDisplayVideo360AdvertiserLinkSettings()
+ .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes"))
+ .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params"));
+
+ builder
+ .updateDisplayVideo360AdvertiserLinkSettings()
+ .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes"))
+ .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params"));
+
+ builder
+ .getDisplayVideo360AdvertiserLinkProposalSettings()
+ .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes"))
+ .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params"));
+
+ builder
+ .listDisplayVideo360AdvertiserLinkProposalsSettings()
+ .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes"))
+ .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params"));
+
+ builder
+ .createDisplayVideo360AdvertiserLinkProposalSettings()
+ .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes"))
+ .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params"));
+
+ builder
+ .deleteDisplayVideo360AdvertiserLinkProposalSettings()
+ .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes"))
+ .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params"));
+
+ builder
+ .approveDisplayVideo360AdvertiserLinkProposalSettings()
+ .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes"))
+ .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params"));
+
+ builder
+ .cancelDisplayVideo360AdvertiserLinkProposalSettings()
+ .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes"))
+ .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params"));
+
builder
.createCustomDimensionSettings()
.setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes"))
@@ -2754,6 +3270,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
+ .getDataRetentionSettingsSettings()
+ .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes"))
+ .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params"));
+
+ builder
+ .updateDataRetentionSettingsSettings()
+ .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes"))
+ .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params"));
+
return builder;
}
@@ -2999,12 +3525,6 @@ public UnaryCallSettings.Builder deleteUserLinkSet
return createFirebaseLinkSettings;
}
- /** Returns the builder for the settings used for calls to updateFirebaseLink. */
- public UnaryCallSettings.Builder
- updateFirebaseLinkSettings() {
- return updateFirebaseLinkSettings;
- }
-
/** Returns the builder for the settings used for calls to deleteFirebaseLink. */
public UnaryCallSettings.Builder
deleteFirebaseLinkSettings() {
@@ -3138,6 +3658,114 @@ public UnaryCallSettings.Builder deleteUserLinkSet
return listConversionEventsSettings;
}
+ /** Returns the builder for the settings used for calls to getDisplayVideo360AdvertiserLink. */
+ public UnaryCallSettings.Builder<
+ GetDisplayVideo360AdvertiserLinkRequest, DisplayVideo360AdvertiserLink>
+ getDisplayVideo360AdvertiserLinkSettings() {
+ return getDisplayVideo360AdvertiserLinkSettings;
+ }
+
+ /**
+ * Returns the builder for the settings used for calls to listDisplayVideo360AdvertiserLinks.
+ */
+ public PagedCallSettings.Builder<
+ ListDisplayVideo360AdvertiserLinksRequest,
+ ListDisplayVideo360AdvertiserLinksResponse,
+ ListDisplayVideo360AdvertiserLinksPagedResponse>
+ listDisplayVideo360AdvertiserLinksSettings() {
+ return listDisplayVideo360AdvertiserLinksSettings;
+ }
+
+ /**
+ * Returns the builder for the settings used for calls to createDisplayVideo360AdvertiserLink.
+ */
+ public UnaryCallSettings.Builder<
+ CreateDisplayVideo360AdvertiserLinkRequest, DisplayVideo360AdvertiserLink>
+ createDisplayVideo360AdvertiserLinkSettings() {
+ return createDisplayVideo360AdvertiserLinkSettings;
+ }
+
+ /**
+ * Returns the builder for the settings used for calls to deleteDisplayVideo360AdvertiserLink.
+ */
+ public UnaryCallSettings.Builder
+ deleteDisplayVideo360AdvertiserLinkSettings() {
+ return deleteDisplayVideo360AdvertiserLinkSettings;
+ }
+
+ /**
+ * Returns the builder for the settings used for calls to updateDisplayVideo360AdvertiserLink.
+ */
+ public UnaryCallSettings.Builder<
+ UpdateDisplayVideo360AdvertiserLinkRequest, DisplayVideo360AdvertiserLink>
+ updateDisplayVideo360AdvertiserLinkSettings() {
+ return updateDisplayVideo360AdvertiserLinkSettings;
+ }
+
+ /**
+ * Returns the builder for the settings used for calls to
+ * getDisplayVideo360AdvertiserLinkProposal.
+ */
+ public UnaryCallSettings.Builder<
+ GetDisplayVideo360AdvertiserLinkProposalRequest, DisplayVideo360AdvertiserLinkProposal>
+ getDisplayVideo360AdvertiserLinkProposalSettings() {
+ return getDisplayVideo360AdvertiserLinkProposalSettings;
+ }
+
+ /**
+ * Returns the builder for the settings used for calls to
+ * listDisplayVideo360AdvertiserLinkProposals.
+ */
+ public PagedCallSettings.Builder<
+ ListDisplayVideo360AdvertiserLinkProposalsRequest,
+ ListDisplayVideo360AdvertiserLinkProposalsResponse,
+ ListDisplayVideo360AdvertiserLinkProposalsPagedResponse>
+ listDisplayVideo360AdvertiserLinkProposalsSettings() {
+ return listDisplayVideo360AdvertiserLinkProposalsSettings;
+ }
+
+ /**
+ * Returns the builder for the settings used for calls to
+ * createDisplayVideo360AdvertiserLinkProposal.
+ */
+ public UnaryCallSettings.Builder<
+ CreateDisplayVideo360AdvertiserLinkProposalRequest,
+ DisplayVideo360AdvertiserLinkProposal>
+ createDisplayVideo360AdvertiserLinkProposalSettings() {
+ return createDisplayVideo360AdvertiserLinkProposalSettings;
+ }
+
+ /**
+ * Returns the builder for the settings used for calls to
+ * deleteDisplayVideo360AdvertiserLinkProposal.
+ */
+ public UnaryCallSettings.Builder
+ deleteDisplayVideo360AdvertiserLinkProposalSettings() {
+ return deleteDisplayVideo360AdvertiserLinkProposalSettings;
+ }
+
+ /**
+ * Returns the builder for the settings used for calls to
+ * approveDisplayVideo360AdvertiserLinkProposal.
+ */
+ public UnaryCallSettings.Builder<
+ ApproveDisplayVideo360AdvertiserLinkProposalRequest,
+ ApproveDisplayVideo360AdvertiserLinkProposalResponse>
+ approveDisplayVideo360AdvertiserLinkProposalSettings() {
+ return approveDisplayVideo360AdvertiserLinkProposalSettings;
+ }
+
+ /**
+ * Returns the builder for the settings used for calls to
+ * cancelDisplayVideo360AdvertiserLinkProposal.
+ */
+ public UnaryCallSettings.Builder<
+ CancelDisplayVideo360AdvertiserLinkProposalRequest,
+ DisplayVideo360AdvertiserLinkProposal>
+ cancelDisplayVideo360AdvertiserLinkProposalSettings() {
+ return cancelDisplayVideo360AdvertiserLinkProposalSettings;
+ }
+
/** Returns the builder for the settings used for calls to createCustomDimension. */
public UnaryCallSettings.Builder
createCustomDimensionSettings() {
@@ -3202,6 +3830,18 @@ public UnaryCallSettings.Builder deleteUserLinkSet
return getCustomMetricSettings;
}
+ /** Returns the builder for the settings used for calls to getDataRetentionSettings. */
+ public UnaryCallSettings.Builder
+ getDataRetentionSettingsSettings() {
+ return getDataRetentionSettingsSettings;
+ }
+
+ /** Returns the builder for the settings used for calls to updateDataRetentionSettings. */
+ public UnaryCallSettings.Builder
+ updateDataRetentionSettingsSettings() {
+ return updateDataRetentionSettingsSettings;
+ }
+
@Override
public AnalyticsAdminServiceStubSettings build() throws IOException {
return new AnalyticsAdminServiceStubSettings(this);
diff --git a/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/GrpcAnalyticsAdminServiceStub.java b/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/GrpcAnalyticsAdminServiceStub.java
index 8446c1a0..3735db15 100644
--- a/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/GrpcAnalyticsAdminServiceStub.java
+++ b/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/GrpcAnalyticsAdminServiceStub.java
@@ -23,6 +23,8 @@
import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListConversionEventsPagedResponse;
import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListCustomDimensionsPagedResponse;
import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListCustomMetricsPagedResponse;
+import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListDisplayVideo360AdvertiserLinkProposalsPagedResponse;
+import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListDisplayVideo360AdvertiserLinksPagedResponse;
import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListFirebaseLinksPagedResponse;
import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListGoogleAdsLinksPagedResponse;
import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListIosAppDataStreamsPagedResponse;
@@ -34,6 +36,8 @@
import com.google.analytics.admin.v1alpha.Account;
import com.google.analytics.admin.v1alpha.AndroidAppDataStream;
+import com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest;
+import com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse;
import com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest;
import com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest;
import com.google.analytics.admin.v1alpha.AuditUserLinksRequest;
@@ -45,10 +49,13 @@
import com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse;
import com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest;
import com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse;
+import com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest;
import com.google.analytics.admin.v1alpha.ConversionEvent;
import com.google.analytics.admin.v1alpha.CreateConversionEventRequest;
import com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest;
import com.google.analytics.admin.v1alpha.CreateCustomMetricRequest;
+import com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest;
+import com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest;
import com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest;
import com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest;
import com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest;
@@ -57,10 +64,13 @@
import com.google.analytics.admin.v1alpha.CreateWebDataStreamRequest;
import com.google.analytics.admin.v1alpha.CustomDimension;
import com.google.analytics.admin.v1alpha.CustomMetric;
+import com.google.analytics.admin.v1alpha.DataRetentionSettings;
import com.google.analytics.admin.v1alpha.DataSharingSettings;
import com.google.analytics.admin.v1alpha.DeleteAccountRequest;
import com.google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest;
import com.google.analytics.admin.v1alpha.DeleteConversionEventRequest;
+import com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest;
+import com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest;
import com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest;
import com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest;
import com.google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest;
@@ -68,6 +78,8 @@
import com.google.analytics.admin.v1alpha.DeletePropertyRequest;
import com.google.analytics.admin.v1alpha.DeleteUserLinkRequest;
import com.google.analytics.admin.v1alpha.DeleteWebDataStreamRequest;
+import com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink;
+import com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal;
import com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings;
import com.google.analytics.admin.v1alpha.FirebaseLink;
import com.google.analytics.admin.v1alpha.GetAccountRequest;
@@ -75,7 +87,10 @@
import com.google.analytics.admin.v1alpha.GetConversionEventRequest;
import com.google.analytics.admin.v1alpha.GetCustomDimensionRequest;
import com.google.analytics.admin.v1alpha.GetCustomMetricRequest;
+import com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest;
import com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest;
+import com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest;
+import com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest;
import com.google.analytics.admin.v1alpha.GetEnhancedMeasurementSettingsRequest;
import com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest;
import com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest;
@@ -100,6 +115,10 @@
import com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse;
import com.google.analytics.admin.v1alpha.ListCustomMetricsRequest;
import com.google.analytics.admin.v1alpha.ListCustomMetricsResponse;
+import com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest;
+import com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse;
+import com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest;
+import com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse;
import com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest;
import com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse;
import com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest;
@@ -124,8 +143,9 @@
import com.google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest;
import com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest;
import com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest;
+import com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest;
+import com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest;
import com.google.analytics.admin.v1alpha.UpdateEnhancedMeasurementSettingsRequest;
-import com.google.analytics.admin.v1alpha.UpdateFirebaseLinkRequest;
import com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest;
import com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest;
import com.google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest;
@@ -579,17 +599,6 @@ public class GrpcAnalyticsAdminServiceStub extends AnalyticsAdminServiceStub {
.setResponseMarshaller(ProtoUtils.marshaller(FirebaseLink.getDefaultInstance()))
.build();
- private static final MethodDescriptor
- updateFirebaseLinkMethodDescriptor =
- MethodDescriptor.newBuilder()
- .setType(MethodDescriptor.MethodType.UNARY)
- .setFullMethodName(
- "google.analytics.admin.v1alpha.AnalyticsAdminService/UpdateFirebaseLink")
- .setRequestMarshaller(
- ProtoUtils.marshaller(UpdateFirebaseLinkRequest.getDefaultInstance()))
- .setResponseMarshaller(ProtoUtils.marshaller(FirebaseLink.getDefaultInstance()))
- .build();
-
private static final MethodDescriptor
deleteFirebaseLinkMethodDescriptor =
MethodDescriptor.newBuilder()
@@ -836,6 +845,184 @@ public class GrpcAnalyticsAdminServiceStub extends AnalyticsAdminServiceStub {
ProtoUtils.marshaller(ListConversionEventsResponse.getDefaultInstance()))
.build();
+ private static final MethodDescriptor<
+ GetDisplayVideo360AdvertiserLinkRequest, DisplayVideo360AdvertiserLink>
+ getDisplayVideo360AdvertiserLinkMethodDescriptor =
+ MethodDescriptor
+ .newBuilder()
+ .setType(MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(
+ "google.analytics.admin.v1alpha.AnalyticsAdminService/GetDisplayVideo360AdvertiserLink")
+ .setRequestMarshaller(
+ ProtoUtils.marshaller(
+ GetDisplayVideo360AdvertiserLinkRequest.getDefaultInstance()))
+ .setResponseMarshaller(
+ ProtoUtils.marshaller(DisplayVideo360AdvertiserLink.getDefaultInstance()))
+ .build();
+
+ private static final MethodDescriptor<
+ ListDisplayVideo360AdvertiserLinksRequest, ListDisplayVideo360AdvertiserLinksResponse>
+ listDisplayVideo360AdvertiserLinksMethodDescriptor =
+ MethodDescriptor
+ .
+ newBuilder()
+ .setType(MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(
+ "google.analytics.admin.v1alpha.AnalyticsAdminService/ListDisplayVideo360AdvertiserLinks")
+ .setRequestMarshaller(
+ ProtoUtils.marshaller(
+ ListDisplayVideo360AdvertiserLinksRequest.getDefaultInstance()))
+ .setResponseMarshaller(
+ ProtoUtils.marshaller(
+ ListDisplayVideo360AdvertiserLinksResponse.getDefaultInstance()))
+ .build();
+
+ private static final MethodDescriptor<
+ CreateDisplayVideo360AdvertiserLinkRequest, DisplayVideo360AdvertiserLink>
+ createDisplayVideo360AdvertiserLinkMethodDescriptor =
+ MethodDescriptor
+ .
+ newBuilder()
+ .setType(MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(
+ "google.analytics.admin.v1alpha.AnalyticsAdminService/CreateDisplayVideo360AdvertiserLink")
+ .setRequestMarshaller(
+ ProtoUtils.marshaller(
+ CreateDisplayVideo360AdvertiserLinkRequest.getDefaultInstance()))
+ .setResponseMarshaller(
+ ProtoUtils.marshaller(DisplayVideo360AdvertiserLink.getDefaultInstance()))
+ .build();
+
+ private static final MethodDescriptor
+ deleteDisplayVideo360AdvertiserLinkMethodDescriptor =
+ MethodDescriptor.newBuilder()
+ .setType(MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(
+ "google.analytics.admin.v1alpha.AnalyticsAdminService/DeleteDisplayVideo360AdvertiserLink")
+ .setRequestMarshaller(
+ ProtoUtils.marshaller(
+ DeleteDisplayVideo360AdvertiserLinkRequest.getDefaultInstance()))
+ .setResponseMarshaller(ProtoUtils.marshaller(Empty.getDefaultInstance()))
+ .build();
+
+ private static final MethodDescriptor<
+ UpdateDisplayVideo360AdvertiserLinkRequest, DisplayVideo360AdvertiserLink>
+ updateDisplayVideo360AdvertiserLinkMethodDescriptor =
+ MethodDescriptor
+ .
+ newBuilder()
+ .setType(MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(
+ "google.analytics.admin.v1alpha.AnalyticsAdminService/UpdateDisplayVideo360AdvertiserLink")
+ .setRequestMarshaller(
+ ProtoUtils.marshaller(
+ UpdateDisplayVideo360AdvertiserLinkRequest.getDefaultInstance()))
+ .setResponseMarshaller(
+ ProtoUtils.marshaller(DisplayVideo360AdvertiserLink.getDefaultInstance()))
+ .build();
+
+ private static final MethodDescriptor<
+ GetDisplayVideo360AdvertiserLinkProposalRequest, DisplayVideo360AdvertiserLinkProposal>
+ getDisplayVideo360AdvertiserLinkProposalMethodDescriptor =
+ MethodDescriptor
+ .
+ newBuilder()
+ .setType(MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(
+ "google.analytics.admin.v1alpha.AnalyticsAdminService/GetDisplayVideo360AdvertiserLinkProposal")
+ .setRequestMarshaller(
+ ProtoUtils.marshaller(
+ GetDisplayVideo360AdvertiserLinkProposalRequest.getDefaultInstance()))
+ .setResponseMarshaller(
+ ProtoUtils.marshaller(DisplayVideo360AdvertiserLinkProposal.getDefaultInstance()))
+ .build();
+
+ private static final MethodDescriptor<
+ ListDisplayVideo360AdvertiserLinkProposalsRequest,
+ ListDisplayVideo360AdvertiserLinkProposalsResponse>
+ listDisplayVideo360AdvertiserLinkProposalsMethodDescriptor =
+ MethodDescriptor
+ .
+ newBuilder()
+ .setType(MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(
+ "google.analytics.admin.v1alpha.AnalyticsAdminService/ListDisplayVideo360AdvertiserLinkProposals")
+ .setRequestMarshaller(
+ ProtoUtils.marshaller(
+ ListDisplayVideo360AdvertiserLinkProposalsRequest.getDefaultInstance()))
+ .setResponseMarshaller(
+ ProtoUtils.marshaller(
+ ListDisplayVideo360AdvertiserLinkProposalsResponse.getDefaultInstance()))
+ .build();
+
+ private static final MethodDescriptor<
+ CreateDisplayVideo360AdvertiserLinkProposalRequest, DisplayVideo360AdvertiserLinkProposal>
+ createDisplayVideo360AdvertiserLinkProposalMethodDescriptor =
+ MethodDescriptor
+ .
+ newBuilder()
+ .setType(MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(
+ "google.analytics.admin.v1alpha.AnalyticsAdminService/CreateDisplayVideo360AdvertiserLinkProposal")
+ .setRequestMarshaller(
+ ProtoUtils.marshaller(
+ CreateDisplayVideo360AdvertiserLinkProposalRequest.getDefaultInstance()))
+ .setResponseMarshaller(
+ ProtoUtils.marshaller(DisplayVideo360AdvertiserLinkProposal.getDefaultInstance()))
+ .build();
+
+ private static final MethodDescriptor
+ deleteDisplayVideo360AdvertiserLinkProposalMethodDescriptor =
+ MethodDescriptor.newBuilder()
+ .setType(MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(
+ "google.analytics.admin.v1alpha.AnalyticsAdminService/DeleteDisplayVideo360AdvertiserLinkProposal")
+ .setRequestMarshaller(
+ ProtoUtils.marshaller(
+ DeleteDisplayVideo360AdvertiserLinkProposalRequest.getDefaultInstance()))
+ .setResponseMarshaller(ProtoUtils.marshaller(Empty.getDefaultInstance()))
+ .build();
+
+ private static final MethodDescriptor<
+ ApproveDisplayVideo360AdvertiserLinkProposalRequest,
+ ApproveDisplayVideo360AdvertiserLinkProposalResponse>
+ approveDisplayVideo360AdvertiserLinkProposalMethodDescriptor =
+ MethodDescriptor
+ .
+ newBuilder()
+ .setType(MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(
+ "google.analytics.admin.v1alpha.AnalyticsAdminService/ApproveDisplayVideo360AdvertiserLinkProposal")
+ .setRequestMarshaller(
+ ProtoUtils.marshaller(
+ ApproveDisplayVideo360AdvertiserLinkProposalRequest.getDefaultInstance()))
+ .setResponseMarshaller(
+ ProtoUtils.marshaller(
+ ApproveDisplayVideo360AdvertiserLinkProposalResponse.getDefaultInstance()))
+ .build();
+
+ private static final MethodDescriptor<
+ CancelDisplayVideo360AdvertiserLinkProposalRequest, DisplayVideo360AdvertiserLinkProposal>
+ cancelDisplayVideo360AdvertiserLinkProposalMethodDescriptor =
+ MethodDescriptor
+ .
+ newBuilder()
+ .setType(MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(
+ "google.analytics.admin.v1alpha.AnalyticsAdminService/CancelDisplayVideo360AdvertiserLinkProposal")
+ .setRequestMarshaller(
+ ProtoUtils.marshaller(
+ CancelDisplayVideo360AdvertiserLinkProposalRequest.getDefaultInstance()))
+ .setResponseMarshaller(
+ ProtoUtils.marshaller(DisplayVideo360AdvertiserLinkProposal.getDefaultInstance()))
+ .build();
+
private static final MethodDescriptor
createCustomDimensionMethodDescriptor =
MethodDescriptor.newBuilder()
@@ -948,6 +1135,30 @@ public class GrpcAnalyticsAdminServiceStub extends AnalyticsAdminServiceStub {
.setResponseMarshaller(ProtoUtils.marshaller(CustomMetric.getDefaultInstance()))
.build();
+ private static final MethodDescriptor
+ getDataRetentionSettingsMethodDescriptor =
+ MethodDescriptor.newBuilder()
+ .setType(MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(
+ "google.analytics.admin.v1alpha.AnalyticsAdminService/GetDataRetentionSettings")
+ .setRequestMarshaller(
+ ProtoUtils.marshaller(GetDataRetentionSettingsRequest.getDefaultInstance()))
+ .setResponseMarshaller(
+ ProtoUtils.marshaller(DataRetentionSettings.getDefaultInstance()))
+ .build();
+
+ private static final MethodDescriptor
+ updateDataRetentionSettingsMethodDescriptor =
+ MethodDescriptor.newBuilder()
+ .setType(MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(
+ "google.analytics.admin.v1alpha.AnalyticsAdminService/UpdateDataRetentionSettings")
+ .setRequestMarshaller(
+ ProtoUtils.marshaller(UpdateDataRetentionSettingsRequest.getDefaultInstance()))
+ .setResponseMarshaller(
+ ProtoUtils.marshaller(DataRetentionSettings.getDefaultInstance()))
+ .build();
+
private final UnaryCallable getAccountCallable;
private final UnaryCallable listAccountsCallable;
private final UnaryCallable
@@ -1019,7 +1230,6 @@ public class GrpcAnalyticsAdminServiceStub extends AnalyticsAdminServiceStub {
private final UnaryCallable
updateEnhancedMeasurementSettingsCallable;
private final UnaryCallable createFirebaseLinkCallable;
- private final UnaryCallable updateFirebaseLinkCallable;
private final UnaryCallable deleteFirebaseLinkCallable;
private final UnaryCallable
listFirebaseLinksCallable;
@@ -1069,6 +1279,47 @@ public class GrpcAnalyticsAdminServiceStub extends AnalyticsAdminServiceStub {
listConversionEventsCallable;
private final UnaryCallable
listConversionEventsPagedCallable;
+ private final UnaryCallable<
+ GetDisplayVideo360AdvertiserLinkRequest, DisplayVideo360AdvertiserLink>
+ getDisplayVideo360AdvertiserLinkCallable;
+ private final UnaryCallable<
+ ListDisplayVideo360AdvertiserLinksRequest, ListDisplayVideo360AdvertiserLinksResponse>
+ listDisplayVideo360AdvertiserLinksCallable;
+ private final UnaryCallable<
+ ListDisplayVideo360AdvertiserLinksRequest,
+ ListDisplayVideo360AdvertiserLinksPagedResponse>
+ listDisplayVideo360AdvertiserLinksPagedCallable;
+ private final UnaryCallable<
+ CreateDisplayVideo360AdvertiserLinkRequest, DisplayVideo360AdvertiserLink>
+ createDisplayVideo360AdvertiserLinkCallable;
+ private final UnaryCallable
+ deleteDisplayVideo360AdvertiserLinkCallable;
+ private final UnaryCallable<
+ UpdateDisplayVideo360AdvertiserLinkRequest, DisplayVideo360AdvertiserLink>
+ updateDisplayVideo360AdvertiserLinkCallable;
+ private final UnaryCallable<
+ GetDisplayVideo360AdvertiserLinkProposalRequest, DisplayVideo360AdvertiserLinkProposal>
+ getDisplayVideo360AdvertiserLinkProposalCallable;
+ private final UnaryCallable<
+ ListDisplayVideo360AdvertiserLinkProposalsRequest,
+ ListDisplayVideo360AdvertiserLinkProposalsResponse>
+ listDisplayVideo360AdvertiserLinkProposalsCallable;
+ private final UnaryCallable<
+ ListDisplayVideo360AdvertiserLinkProposalsRequest,
+ ListDisplayVideo360AdvertiserLinkProposalsPagedResponse>
+ listDisplayVideo360AdvertiserLinkProposalsPagedCallable;
+ private final UnaryCallable<
+ CreateDisplayVideo360AdvertiserLinkProposalRequest, DisplayVideo360AdvertiserLinkProposal>
+ createDisplayVideo360AdvertiserLinkProposalCallable;
+ private final UnaryCallable
+ deleteDisplayVideo360AdvertiserLinkProposalCallable;
+ private final UnaryCallable<
+ ApproveDisplayVideo360AdvertiserLinkProposalRequest,
+ ApproveDisplayVideo360AdvertiserLinkProposalResponse>
+ approveDisplayVideo360AdvertiserLinkProposalCallable;
+ private final UnaryCallable<
+ CancelDisplayVideo360AdvertiserLinkProposalRequest, DisplayVideo360AdvertiserLinkProposal>
+ cancelDisplayVideo360AdvertiserLinkProposalCallable;
private final UnaryCallable
createCustomDimensionCallable;
private final UnaryCallable
@@ -1088,6 +1339,10 @@ public class GrpcAnalyticsAdminServiceStub extends AnalyticsAdminServiceStub {
listCustomMetricsPagedCallable;
private final UnaryCallable archiveCustomMetricCallable;
private final UnaryCallable getCustomMetricCallable;
+ private final UnaryCallable
+ getDataRetentionSettingsCallable;
+ private final UnaryCallable
+ updateDataRetentionSettingsCallable;
private final BackgroundResource backgroundResources;
private final GrpcOperationsStub operationsStub;
@@ -1505,17 +1760,6 @@ protected GrpcAnalyticsAdminServiceStub(
return params.build();
})
.build();
- GrpcCallSettings updateFirebaseLinkTransportSettings =
- GrpcCallSettings.newBuilder()
- .setMethodDescriptor(updateFirebaseLinkMethodDescriptor)
- .setParamsExtractor(
- request -> {
- ImmutableMap.Builder params = ImmutableMap.builder();
- params.put(
- "firebase_link.name", String.valueOf(request.getFirebaseLink().getName()));
- return params.build();
- })
- .build();
GrpcCallSettings deleteFirebaseLinkTransportSettings =
GrpcCallSettings.newBuilder()
.setMethodDescriptor(deleteFirebaseLinkMethodDescriptor)
@@ -1744,6 +1988,163 @@ protected GrpcAnalyticsAdminServiceStub(
return params.build();
})
.build();
+ GrpcCallSettings
+ getDisplayVideo360AdvertiserLinkTransportSettings =
+ GrpcCallSettings
+ .
+ newBuilder()
+ .setMethodDescriptor(getDisplayVideo360AdvertiserLinkMethodDescriptor)
+ .setParamsExtractor(
+ request -> {
+ ImmutableMap.Builder params = ImmutableMap.builder();
+ params.put("name", String.valueOf(request.getName()));
+ return params.build();
+ })
+ .build();
+ GrpcCallSettings<
+ ListDisplayVideo360AdvertiserLinksRequest, ListDisplayVideo360AdvertiserLinksResponse>
+ listDisplayVideo360AdvertiserLinksTransportSettings =
+ GrpcCallSettings
+ .
+ newBuilder()
+ .setMethodDescriptor(listDisplayVideo360AdvertiserLinksMethodDescriptor)
+ .setParamsExtractor(
+ request -> {
+ ImmutableMap.Builder params = ImmutableMap.builder();
+ params.put("parent", String.valueOf(request.getParent()));
+ return params.build();
+ })
+ .build();
+ GrpcCallSettings
+ createDisplayVideo360AdvertiserLinkTransportSettings =
+ GrpcCallSettings
+ .
+ newBuilder()
+ .setMethodDescriptor(createDisplayVideo360AdvertiserLinkMethodDescriptor)
+ .setParamsExtractor(
+ request -> {
+ ImmutableMap.Builder params = ImmutableMap.builder();
+ params.put("parent", String.valueOf(request.getParent()));
+ return params.build();
+ })
+ .build();
+ GrpcCallSettings
+ deleteDisplayVideo360AdvertiserLinkTransportSettings =
+ GrpcCallSettings.newBuilder()
+ .setMethodDescriptor(deleteDisplayVideo360AdvertiserLinkMethodDescriptor)
+ .setParamsExtractor(
+ request -> {
+ ImmutableMap.Builder params = ImmutableMap.builder();
+ params.put("name", String.valueOf(request.getName()));
+ return params.build();
+ })
+ .build();
+ GrpcCallSettings
+ updateDisplayVideo360AdvertiserLinkTransportSettings =
+ GrpcCallSettings
+ .
+ newBuilder()
+ .setMethodDescriptor(updateDisplayVideo360AdvertiserLinkMethodDescriptor)
+ .setParamsExtractor(
+ request -> {
+ ImmutableMap.Builder params = ImmutableMap.builder();
+ params.put(
+ "display_video_360_advertiser_link.name",
+ String.valueOf(request.getDisplayVideo360AdvertiserLink().getName()));
+ return params.build();
+ })
+ .build();
+ GrpcCallSettings<
+ GetDisplayVideo360AdvertiserLinkProposalRequest, DisplayVideo360AdvertiserLinkProposal>
+ getDisplayVideo360AdvertiserLinkProposalTransportSettings =
+ GrpcCallSettings
+ .
+ newBuilder()
+ .setMethodDescriptor(getDisplayVideo360AdvertiserLinkProposalMethodDescriptor)
+ .setParamsExtractor(
+ request -> {
+ ImmutableMap.Builder params = ImmutableMap.builder();
+ params.put("name", String.valueOf(request.getName()));
+ return params.build();
+ })
+ .build();
+ GrpcCallSettings<
+ ListDisplayVideo360AdvertiserLinkProposalsRequest,
+ ListDisplayVideo360AdvertiserLinkProposalsResponse>
+ listDisplayVideo360AdvertiserLinkProposalsTransportSettings =
+ GrpcCallSettings
+ .
+ newBuilder()
+ .setMethodDescriptor(listDisplayVideo360AdvertiserLinkProposalsMethodDescriptor)
+ .setParamsExtractor(
+ request -> {
+ ImmutableMap.Builder params = ImmutableMap.builder();
+ params.put("parent", String.valueOf(request.getParent()));
+ return params.build();
+ })
+ .build();
+ GrpcCallSettings<
+ CreateDisplayVideo360AdvertiserLinkProposalRequest,
+ DisplayVideo360AdvertiserLinkProposal>
+ createDisplayVideo360AdvertiserLinkProposalTransportSettings =
+ GrpcCallSettings
+ .
+ newBuilder()
+ .setMethodDescriptor(createDisplayVideo360AdvertiserLinkProposalMethodDescriptor)
+ .setParamsExtractor(
+ request -> {
+ ImmutableMap.Builder params = ImmutableMap.builder();
+ params.put("parent", String.valueOf(request.getParent()));
+ return params.build();
+ })
+ .build();
+ GrpcCallSettings
+ deleteDisplayVideo360AdvertiserLinkProposalTransportSettings =
+ GrpcCallSettings.newBuilder()
+ .setMethodDescriptor(deleteDisplayVideo360AdvertiserLinkProposalMethodDescriptor)
+ .setParamsExtractor(
+ request -> {
+ ImmutableMap.Builder params = ImmutableMap.builder();
+ params.put("name", String.valueOf(request.getName()));
+ return params.build();
+ })
+ .build();
+ GrpcCallSettings<
+ ApproveDisplayVideo360AdvertiserLinkProposalRequest,
+ ApproveDisplayVideo360AdvertiserLinkProposalResponse>
+ approveDisplayVideo360AdvertiserLinkProposalTransportSettings =
+ GrpcCallSettings
+ .
+ newBuilder()
+ .setMethodDescriptor(approveDisplayVideo360AdvertiserLinkProposalMethodDescriptor)
+ .setParamsExtractor(
+ request -> {
+ ImmutableMap.Builder params = ImmutableMap.builder();
+ params.put("name", String.valueOf(request.getName()));
+ return params.build();
+ })
+ .build();
+ GrpcCallSettings<
+ CancelDisplayVideo360AdvertiserLinkProposalRequest,
+ DisplayVideo360AdvertiserLinkProposal>
+ cancelDisplayVideo360AdvertiserLinkProposalTransportSettings =
+ GrpcCallSettings
+ .
+ newBuilder()
+ .setMethodDescriptor(cancelDisplayVideo360AdvertiserLinkProposalMethodDescriptor)
+ .setParamsExtractor(
+ request -> {
+ ImmutableMap.Builder params = ImmutableMap.builder();
+ params.put("name", String.valueOf(request.getName()));
+ return params.build();
+ })
+ .build();
GrpcCallSettings
createCustomDimensionTransportSettings =
GrpcCallSettings.newBuilder()
@@ -1852,6 +2253,30 @@ protected GrpcAnalyticsAdminServiceStub(
return params.build();
})
.build();
+ GrpcCallSettings
+ getDataRetentionSettingsTransportSettings =
+ GrpcCallSettings.newBuilder()
+ .setMethodDescriptor(getDataRetentionSettingsMethodDescriptor)
+ .setParamsExtractor(
+ request -> {
+ ImmutableMap.Builder params = ImmutableMap.builder();
+ params.put("name", String.valueOf(request.getName()));
+ return params.build();
+ })
+ .build();
+ GrpcCallSettings
+ updateDataRetentionSettingsTransportSettings =
+ GrpcCallSettings.newBuilder()
+ .setMethodDescriptor(updateDataRetentionSettingsMethodDescriptor)
+ .setParamsExtractor(
+ request -> {
+ ImmutableMap.Builder params = ImmutableMap.builder();
+ params.put(
+ "data_retention_settings.name",
+ String.valueOf(request.getDataRetentionSettings().getName()));
+ return params.build();
+ })
+ .build();
this.getAccountCallable =
callableFactory.createUnaryCallable(
@@ -2038,11 +2463,6 @@ protected GrpcAnalyticsAdminServiceStub(
createFirebaseLinkTransportSettings,
settings.createFirebaseLinkSettings(),
clientContext);
- this.updateFirebaseLinkCallable =
- callableFactory.createUnaryCallable(
- updateFirebaseLinkTransportSettings,
- settings.updateFirebaseLinkSettings(),
- clientContext);
this.deleteFirebaseLinkCallable =
callableFactory.createUnaryCallable(
deleteFirebaseLinkTransportSettings,
@@ -2166,6 +2586,71 @@ protected GrpcAnalyticsAdminServiceStub(
listConversionEventsTransportSettings,
settings.listConversionEventsSettings(),
clientContext);
+ this.getDisplayVideo360AdvertiserLinkCallable =
+ callableFactory.createUnaryCallable(
+ getDisplayVideo360AdvertiserLinkTransportSettings,
+ settings.getDisplayVideo360AdvertiserLinkSettings(),
+ clientContext);
+ this.listDisplayVideo360AdvertiserLinksCallable =
+ callableFactory.createUnaryCallable(
+ listDisplayVideo360AdvertiserLinksTransportSettings,
+ settings.listDisplayVideo360AdvertiserLinksSettings(),
+ clientContext);
+ this.listDisplayVideo360AdvertiserLinksPagedCallable =
+ callableFactory.createPagedCallable(
+ listDisplayVideo360AdvertiserLinksTransportSettings,
+ settings.listDisplayVideo360AdvertiserLinksSettings(),
+ clientContext);
+ this.createDisplayVideo360AdvertiserLinkCallable =
+ callableFactory.createUnaryCallable(
+ createDisplayVideo360AdvertiserLinkTransportSettings,
+ settings.createDisplayVideo360AdvertiserLinkSettings(),
+ clientContext);
+ this.deleteDisplayVideo360AdvertiserLinkCallable =
+ callableFactory.createUnaryCallable(
+ deleteDisplayVideo360AdvertiserLinkTransportSettings,
+ settings.deleteDisplayVideo360AdvertiserLinkSettings(),
+ clientContext);
+ this.updateDisplayVideo360AdvertiserLinkCallable =
+ callableFactory.createUnaryCallable(
+ updateDisplayVideo360AdvertiserLinkTransportSettings,
+ settings.updateDisplayVideo360AdvertiserLinkSettings(),
+ clientContext);
+ this.getDisplayVideo360AdvertiserLinkProposalCallable =
+ callableFactory.createUnaryCallable(
+ getDisplayVideo360AdvertiserLinkProposalTransportSettings,
+ settings.getDisplayVideo360AdvertiserLinkProposalSettings(),
+ clientContext);
+ this.listDisplayVideo360AdvertiserLinkProposalsCallable =
+ callableFactory.createUnaryCallable(
+ listDisplayVideo360AdvertiserLinkProposalsTransportSettings,
+ settings.listDisplayVideo360AdvertiserLinkProposalsSettings(),
+ clientContext);
+ this.listDisplayVideo360AdvertiserLinkProposalsPagedCallable =
+ callableFactory.createPagedCallable(
+ listDisplayVideo360AdvertiserLinkProposalsTransportSettings,
+ settings.listDisplayVideo360AdvertiserLinkProposalsSettings(),
+ clientContext);
+ this.createDisplayVideo360AdvertiserLinkProposalCallable =
+ callableFactory.createUnaryCallable(
+ createDisplayVideo360AdvertiserLinkProposalTransportSettings,
+ settings.createDisplayVideo360AdvertiserLinkProposalSettings(),
+ clientContext);
+ this.deleteDisplayVideo360AdvertiserLinkProposalCallable =
+ callableFactory.createUnaryCallable(
+ deleteDisplayVideo360AdvertiserLinkProposalTransportSettings,
+ settings.deleteDisplayVideo360AdvertiserLinkProposalSettings(),
+ clientContext);
+ this.approveDisplayVideo360AdvertiserLinkProposalCallable =
+ callableFactory.createUnaryCallable(
+ approveDisplayVideo360AdvertiserLinkProposalTransportSettings,
+ settings.approveDisplayVideo360AdvertiserLinkProposalSettings(),
+ clientContext);
+ this.cancelDisplayVideo360AdvertiserLinkProposalCallable =
+ callableFactory.createUnaryCallable(
+ cancelDisplayVideo360AdvertiserLinkProposalTransportSettings,
+ settings.cancelDisplayVideo360AdvertiserLinkProposalSettings(),
+ clientContext);
this.createCustomDimensionCallable =
callableFactory.createUnaryCallable(
createCustomDimensionTransportSettings,
@@ -2224,6 +2709,16 @@ protected GrpcAnalyticsAdminServiceStub(
this.getCustomMetricCallable =
callableFactory.createUnaryCallable(
getCustomMetricTransportSettings, settings.getCustomMetricSettings(), clientContext);
+ this.getDataRetentionSettingsCallable =
+ callableFactory.createUnaryCallable(
+ getDataRetentionSettingsTransportSettings,
+ settings.getDataRetentionSettingsSettings(),
+ clientContext);
+ this.updateDataRetentionSettingsCallable =
+ callableFactory.createUnaryCallable(
+ updateDataRetentionSettingsTransportSettings,
+ settings.updateDataRetentionSettingsSettings(),
+ clientContext);
this.backgroundResources =
new BackgroundResourceAggregation(clientContext.getBackgroundResources());
@@ -2479,11 +2974,6 @@ public UnaryCallable createFirebaseLink
return createFirebaseLinkCallable;
}
- @Override
- public UnaryCallable updateFirebaseLinkCallable() {
- return updateFirebaseLinkCallable;
- }
-
@Override
public UnaryCallable deleteFirebaseLinkCallable() {
return deleteFirebaseLinkCallable;
@@ -2629,6 +3119,96 @@ public UnaryCallable deleteConversionEventC
return listConversionEventsPagedCallable;
}
+ @Override
+ public UnaryCallable
+ getDisplayVideo360AdvertiserLinkCallable() {
+ return getDisplayVideo360AdvertiserLinkCallable;
+ }
+
+ @Override
+ public UnaryCallable<
+ ListDisplayVideo360AdvertiserLinksRequest, ListDisplayVideo360AdvertiserLinksResponse>
+ listDisplayVideo360AdvertiserLinksCallable() {
+ return listDisplayVideo360AdvertiserLinksCallable;
+ }
+
+ @Override
+ public UnaryCallable<
+ ListDisplayVideo360AdvertiserLinksRequest,
+ ListDisplayVideo360AdvertiserLinksPagedResponse>
+ listDisplayVideo360AdvertiserLinksPagedCallable() {
+ return listDisplayVideo360AdvertiserLinksPagedCallable;
+ }
+
+ @Override
+ public UnaryCallable
+ createDisplayVideo360AdvertiserLinkCallable() {
+ return createDisplayVideo360AdvertiserLinkCallable;
+ }
+
+ @Override
+ public UnaryCallable
+ deleteDisplayVideo360AdvertiserLinkCallable() {
+ return deleteDisplayVideo360AdvertiserLinkCallable;
+ }
+
+ @Override
+ public UnaryCallable
+ updateDisplayVideo360AdvertiserLinkCallable() {
+ return updateDisplayVideo360AdvertiserLinkCallable;
+ }
+
+ @Override
+ public UnaryCallable<
+ GetDisplayVideo360AdvertiserLinkProposalRequest, DisplayVideo360AdvertiserLinkProposal>
+ getDisplayVideo360AdvertiserLinkProposalCallable() {
+ return getDisplayVideo360AdvertiserLinkProposalCallable;
+ }
+
+ @Override
+ public UnaryCallable<
+ ListDisplayVideo360AdvertiserLinkProposalsRequest,
+ ListDisplayVideo360AdvertiserLinkProposalsResponse>
+ listDisplayVideo360AdvertiserLinkProposalsCallable() {
+ return listDisplayVideo360AdvertiserLinkProposalsCallable;
+ }
+
+ @Override
+ public UnaryCallable<
+ ListDisplayVideo360AdvertiserLinkProposalsRequest,
+ ListDisplayVideo360AdvertiserLinkProposalsPagedResponse>
+ listDisplayVideo360AdvertiserLinkProposalsPagedCallable() {
+ return listDisplayVideo360AdvertiserLinkProposalsPagedCallable;
+ }
+
+ @Override
+ public UnaryCallable<
+ CreateDisplayVideo360AdvertiserLinkProposalRequest, DisplayVideo360AdvertiserLinkProposal>
+ createDisplayVideo360AdvertiserLinkProposalCallable() {
+ return createDisplayVideo360AdvertiserLinkProposalCallable;
+ }
+
+ @Override
+ public UnaryCallable
+ deleteDisplayVideo360AdvertiserLinkProposalCallable() {
+ return deleteDisplayVideo360AdvertiserLinkProposalCallable;
+ }
+
+ @Override
+ public UnaryCallable<
+ ApproveDisplayVideo360AdvertiserLinkProposalRequest,
+ ApproveDisplayVideo360AdvertiserLinkProposalResponse>
+ approveDisplayVideo360AdvertiserLinkProposalCallable() {
+ return approveDisplayVideo360AdvertiserLinkProposalCallable;
+ }
+
+ @Override
+ public UnaryCallable<
+ CancelDisplayVideo360AdvertiserLinkProposalRequest, DisplayVideo360AdvertiserLinkProposal>
+ cancelDisplayVideo360AdvertiserLinkProposalCallable() {
+ return cancelDisplayVideo360AdvertiserLinkProposalCallable;
+ }
+
@Override
public UnaryCallable
createCustomDimensionCallable() {
@@ -2695,6 +3275,18 @@ public UnaryCallable getCustomMetricCallab
return getCustomMetricCallable;
}
+ @Override
+ public UnaryCallable
+ getDataRetentionSettingsCallable() {
+ return getDataRetentionSettingsCallable;
+ }
+
+ @Override
+ public UnaryCallable
+ updateDataRetentionSettingsCallable() {
+ return updateDataRetentionSettingsCallable;
+ }
+
@Override
public final void close() {
try {
diff --git a/google-analytics-admin/src/test/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceClientTest.java b/google-analytics-admin/src/test/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceClientTest.java
index b5de84fb..8557eb65 100644
--- a/google-analytics-admin/src/test/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceClientTest.java
+++ b/google-analytics-admin/src/test/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceClientTest.java
@@ -23,6 +23,8 @@
import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListConversionEventsPagedResponse;
import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListCustomDimensionsPagedResponse;
import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListCustomMetricsPagedResponse;
+import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListDisplayVideo360AdvertiserLinkProposalsPagedResponse;
+import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListDisplayVideo360AdvertiserLinksPagedResponse;
import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListFirebaseLinksPagedResponse;
import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListGoogleAdsLinksPagedResponse;
import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListIosAppDataStreamsPagedResponse;
@@ -468,6 +470,7 @@ public void getPropertyTest() throws Exception {
.setIndustryCategory(IndustryCategory.forNumber(0))
.setTimeZone("timeZone-2077180903")
.setCurrencyCode("currencyCode1004773790")
+ .setServiceLevel(ServiceLevel.forNumber(0))
.setDeleteTime(Timestamp.newBuilder().build())
.setExpireTime(Timestamp.newBuilder().build())
.build();
@@ -515,6 +518,7 @@ public void getPropertyTest2() throws Exception {
.setIndustryCategory(IndustryCategory.forNumber(0))
.setTimeZone("timeZone-2077180903")
.setCurrencyCode("currencyCode1004773790")
+ .setServiceLevel(ServiceLevel.forNumber(0))
.setDeleteTime(Timestamp.newBuilder().build())
.setExpireTime(Timestamp.newBuilder().build())
.build();
@@ -621,6 +625,7 @@ public void createPropertyTest() throws Exception {
.setIndustryCategory(IndustryCategory.forNumber(0))
.setTimeZone("timeZone-2077180903")
.setCurrencyCode("currencyCode1004773790")
+ .setServiceLevel(ServiceLevel.forNumber(0))
.setDeleteTime(Timestamp.newBuilder().build())
.setExpireTime(Timestamp.newBuilder().build())
.build();
@@ -668,6 +673,7 @@ public void deletePropertyTest() throws Exception {
.setIndustryCategory(IndustryCategory.forNumber(0))
.setTimeZone("timeZone-2077180903")
.setCurrencyCode("currencyCode1004773790")
+ .setServiceLevel(ServiceLevel.forNumber(0))
.setDeleteTime(Timestamp.newBuilder().build())
.setExpireTime(Timestamp.newBuilder().build())
.build();
@@ -715,6 +721,7 @@ public void deletePropertyTest2() throws Exception {
.setIndustryCategory(IndustryCategory.forNumber(0))
.setTimeZone("timeZone-2077180903")
.setCurrencyCode("currencyCode1004773790")
+ .setServiceLevel(ServiceLevel.forNumber(0))
.setDeleteTime(Timestamp.newBuilder().build())
.setExpireTime(Timestamp.newBuilder().build())
.build();
@@ -762,6 +769,7 @@ public void updatePropertyTest() throws Exception {
.setIndustryCategory(IndustryCategory.forNumber(0))
.setTimeZone("timeZone-2077180903")
.setCurrencyCode("currencyCode1004773790")
+ .setServiceLevel(ServiceLevel.forNumber(0))
.setDeleteTime(Timestamp.newBuilder().build())
.setExpireTime(Timestamp.newBuilder().build())
.build();
@@ -888,7 +896,7 @@ public void batchGetUserLinksTest() throws Exception {
BatchGetUserLinksRequest request =
BatchGetUserLinksRequest.newBuilder()
- .setParent(UserLinkName.ofAccountUserLinkName("[ACCOUNT]", "[USER_LINK]").toString())
+ .setParent(AccountName.of("[ACCOUNT]").toString())
.addAllNames(new ArrayList())
.build();
@@ -915,7 +923,7 @@ public void batchGetUserLinksExceptionTest() throws Exception {
try {
BatchGetUserLinksRequest request =
BatchGetUserLinksRequest.newBuilder()
- .setParent(UserLinkName.ofAccountUserLinkName("[ACCOUNT]", "[USER_LINK]").toString())
+ .setParent(AccountName.of("[ACCOUNT]").toString())
.addAllNames(new ArrayList())
.build();
client.batchGetUserLinks(request);
@@ -1069,7 +1077,7 @@ public void auditUserLinksTest() throws Exception {
AuditUserLinksRequest request =
AuditUserLinksRequest.newBuilder()
- .setParent(UserLinkName.ofAccountUserLinkName("[ACCOUNT]", "[USER_LINK]").toString())
+ .setParent(AccountName.of("[ACCOUNT]").toString())
.setPageSize(883849137)
.setPageToken("pageToken873572522")
.build();
@@ -1102,7 +1110,7 @@ public void auditUserLinksExceptionTest() throws Exception {
try {
AuditUserLinksRequest request =
AuditUserLinksRequest.newBuilder()
- .setParent(UserLinkName.ofAccountUserLinkName("[ACCOUNT]", "[USER_LINK]").toString())
+ .setParent(AccountName.of("[ACCOUNT]").toString())
.setPageSize(883849137)
.setPageToken("pageToken873572522")
.build();
@@ -1252,7 +1260,7 @@ public void batchCreateUserLinksTest() throws Exception {
BatchCreateUserLinksRequest request =
BatchCreateUserLinksRequest.newBuilder()
- .setParent(UserLinkName.ofAccountUserLinkName("[ACCOUNT]", "[USER_LINK]").toString())
+ .setParent(AccountName.of("[ACCOUNT]").toString())
.setNotifyNewUsers(true)
.addAllRequests(new ArrayList())
.build();
@@ -1282,7 +1290,7 @@ public void batchCreateUserLinksExceptionTest() throws Exception {
try {
BatchCreateUserLinksRequest request =
BatchCreateUserLinksRequest.newBuilder()
- .setParent(UserLinkName.ofAccountUserLinkName("[ACCOUNT]", "[USER_LINK]").toString())
+ .setParent(AccountName.of("[ACCOUNT]").toString())
.setNotifyNewUsers(true)
.addAllRequests(new ArrayList())
.build();
@@ -1343,7 +1351,7 @@ public void batchUpdateUserLinksTest() throws Exception {
BatchUpdateUserLinksRequest request =
BatchUpdateUserLinksRequest.newBuilder()
- .setParent(UserLinkName.ofAccountUserLinkName("[ACCOUNT]", "[USER_LINK]").toString())
+ .setParent(AccountName.of("[ACCOUNT]").toString())
.addAllRequests(new ArrayList())
.build();
@@ -1371,7 +1379,7 @@ public void batchUpdateUserLinksExceptionTest() throws Exception {
try {
BatchUpdateUserLinksRequest request =
BatchUpdateUserLinksRequest.newBuilder()
- .setParent(UserLinkName.ofAccountUserLinkName("[ACCOUNT]", "[USER_LINK]").toString())
+ .setParent(AccountName.of("[ACCOUNT]").toString())
.addAllRequests(new ArrayList())
.build();
client.batchUpdateUserLinks(request);
@@ -1456,7 +1464,7 @@ public void batchDeleteUserLinksTest() throws Exception {
BatchDeleteUserLinksRequest request =
BatchDeleteUserLinksRequest.newBuilder()
- .setParent(UserLinkName.ofAccountUserLinkName("[ACCOUNT]", "[USER_LINK]").toString())
+ .setParent(AccountName.of("[ACCOUNT]").toString())
.addAllRequests(new ArrayList