Skip to content
This repository was archived by the owner on Sep 9, 2023. It is now read-only.

Commit 3d3726d

Browse files
gcf-owl-bot[bot]Neenu1995chanseokoh
authored
feat: add GetDataRetentionSettings, UpdateDataRetentionSettings methods to the API (#269)
* feat: add `GetDataRetentionSettings`, `UpdateDataRetentionSettings` methods to the API feat: add `GetDisplayVideo360AdvertiserLink`, `ListDisplayVideo360AdvertiserLinks`, `CreateDisplayVideo360AdvertiserLink`, `DeleteDisplayVideo360AdvertiserLink` methods to the API feat: add `GetDisplayVideo360AdvertiserLinkProposal`, `ListDisplayVideo360AdvertiserLinkProposals`,`DeleteDisplayVideo360AdvertiserLinkProposal`, `CancelDisplayVideo360AdvertiserLinkProposal` methods to the API feat: add `LinkProposalStatusDetails`, `DisplayVideo360AdvertiserLinkProposal`, `DisplayVideo360AdvertiserLink` `LinkProposalState`, `LinkProposalInitiatingProduct`, `ServiceLevel`, `DataRetentionSettings` types to the API feat: add `service_level` field to `Property` type feat: add `display_video_360_advertiser_link`, `display_video_360_advertiser_link_proposal`, `data_retention_settings` fields to `ChangeHistoryChange.resource` oneof field. feat: add `custom` output only field to `ConversionEvent` type feat: change `measurement_unit` field to mutable in `CustomMetric` type fix!: remove `UpdateFirebaseLink` method from the API fix!: rename `is_deletable` field of `ConversionEvent` type to `deletable` fix!: rename `email_address` field of `GoogleAdsLink` type to `creator_email_address` fix!: remove `maximum_user_access` field from `FirebaseLink` type fix!: remove `MaximumUserAccess` enum from the API PiperOrigin-RevId: 392540180 Source-Link: googleapis/googleapis@9e617db Source-Link: https://github.com/googleapis/googleapis-gen/commit/61da03bd21c6e7ccff75acbcb293ddb601b42818 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNjFkYTAzYmQyMWM2ZTdjY2ZmNzVhY2JjYjI5M2RkYjYwMWI0MjgxOCJ9 * 🦉 Updates from OwlBot See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * chore: squash owlbot commits Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Neenu1995 <[email protected]> Co-authored-by: Chanseok Oh <[email protected]>
1 parent 4cfbf3b commit 3d3726d

File tree

75 files changed

+34465
-2656
lines changed

Some content is hidden

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

75 files changed

+34465
-2656
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!-- see http://www.mojohaus.org/clirr-maven-plugin/examples/ignored-differences.html -->
3+
<differences>
4+
<difference>
5+
<differenceType>7002</differenceType>
6+
<className>com/google/analytics/admin/v1alpha/AnalyticsAdminService*</className>
7+
<method>* *FirebaseLink*(*)</method>
8+
</difference>
9+
<difference>
10+
<differenceType>7002</differenceType>
11+
<className>com/google/analytics/admin/v1alpha/stub/AnalyticsAdminService*</className>
12+
<method>* *FirebaseLink*(*)</method>
13+
</difference>
14+
<difference>
15+
<differenceType>7002</differenceType>
16+
<className>com/google/analytics/admin/v1alpha/stub/GrpcAnalyticsAdminServiceStub*</className>
17+
<method>* *FirebaseLink*(*)</method>
18+
</difference>
19+
</differences>

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

Lines changed: 1863 additions & 254 deletions
Large diffs are not rendered by default.

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

Lines changed: 244 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@
2323
import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListConversionEventsPagedResponse;
2424
import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListCustomDimensionsPagedResponse;
2525
import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListCustomMetricsPagedResponse;
26+
import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListDisplayVideo360AdvertiserLinkProposalsPagedResponse;
27+
import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListDisplayVideo360AdvertiserLinksPagedResponse;
2628
import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListFirebaseLinksPagedResponse;
2729
import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListGoogleAdsLinksPagedResponse;
2830
import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListIosAppDataStreamsPagedResponse;
@@ -311,11 +313,6 @@ public UnaryCallSettings<CreateFirebaseLinkRequest, FirebaseLink> createFirebase
311313
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).createFirebaseLinkSettings();
312314
}
313315

314-
/** Returns the object with the settings used for calls to updateFirebaseLink. */
315-
public UnaryCallSettings<UpdateFirebaseLinkRequest, FirebaseLink> updateFirebaseLinkSettings() {
316-
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).updateFirebaseLinkSettings();
317-
}
318-
319316
/** Returns the object with the settings used for calls to deleteFirebaseLink. */
320317
public UnaryCallSettings<DeleteFirebaseLinkRequest, Empty> deleteFirebaseLinkSettings() {
321318
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).deleteFirebaseLinkSettings();
@@ -451,6 +448,114 @@ public UnaryCallSettings<DeleteConversionEventRequest, Empty> deleteConversionEv
451448
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).listConversionEventsSettings();
452449
}
453450

451+
/** Returns the object with the settings used for calls to getDisplayVideo360AdvertiserLink. */
452+
public UnaryCallSettings<GetDisplayVideo360AdvertiserLinkRequest, DisplayVideo360AdvertiserLink>
453+
getDisplayVideo360AdvertiserLinkSettings() {
454+
return ((AnalyticsAdminServiceStubSettings) getStubSettings())
455+
.getDisplayVideo360AdvertiserLinkSettings();
456+
}
457+
458+
/** Returns the object with the settings used for calls to listDisplayVideo360AdvertiserLinks. */
459+
public PagedCallSettings<
460+
ListDisplayVideo360AdvertiserLinksRequest,
461+
ListDisplayVideo360AdvertiserLinksResponse,
462+
ListDisplayVideo360AdvertiserLinksPagedResponse>
463+
listDisplayVideo360AdvertiserLinksSettings() {
464+
return ((AnalyticsAdminServiceStubSettings) getStubSettings())
465+
.listDisplayVideo360AdvertiserLinksSettings();
466+
}
467+
468+
/** Returns the object with the settings used for calls to createDisplayVideo360AdvertiserLink. */
469+
public UnaryCallSettings<
470+
CreateDisplayVideo360AdvertiserLinkRequest, DisplayVideo360AdvertiserLink>
471+
createDisplayVideo360AdvertiserLinkSettings() {
472+
return ((AnalyticsAdminServiceStubSettings) getStubSettings())
473+
.createDisplayVideo360AdvertiserLinkSettings();
474+
}
475+
476+
/** Returns the object with the settings used for calls to deleteDisplayVideo360AdvertiserLink. */
477+
public UnaryCallSettings<DeleteDisplayVideo360AdvertiserLinkRequest, Empty>
478+
deleteDisplayVideo360AdvertiserLinkSettings() {
479+
return ((AnalyticsAdminServiceStubSettings) getStubSettings())
480+
.deleteDisplayVideo360AdvertiserLinkSettings();
481+
}
482+
483+
/** Returns the object with the settings used for calls to updateDisplayVideo360AdvertiserLink. */
484+
public UnaryCallSettings<
485+
UpdateDisplayVideo360AdvertiserLinkRequest, DisplayVideo360AdvertiserLink>
486+
updateDisplayVideo360AdvertiserLinkSettings() {
487+
return ((AnalyticsAdminServiceStubSettings) getStubSettings())
488+
.updateDisplayVideo360AdvertiserLinkSettings();
489+
}
490+
491+
/**
492+
* Returns the object with the settings used for calls to
493+
* getDisplayVideo360AdvertiserLinkProposal.
494+
*/
495+
public UnaryCallSettings<
496+
GetDisplayVideo360AdvertiserLinkProposalRequest, DisplayVideo360AdvertiserLinkProposal>
497+
getDisplayVideo360AdvertiserLinkProposalSettings() {
498+
return ((AnalyticsAdminServiceStubSettings) getStubSettings())
499+
.getDisplayVideo360AdvertiserLinkProposalSettings();
500+
}
501+
502+
/**
503+
* Returns the object with the settings used for calls to
504+
* listDisplayVideo360AdvertiserLinkProposals.
505+
*/
506+
public PagedCallSettings<
507+
ListDisplayVideo360AdvertiserLinkProposalsRequest,
508+
ListDisplayVideo360AdvertiserLinkProposalsResponse,
509+
ListDisplayVideo360AdvertiserLinkProposalsPagedResponse>
510+
listDisplayVideo360AdvertiserLinkProposalsSettings() {
511+
return ((AnalyticsAdminServiceStubSettings) getStubSettings())
512+
.listDisplayVideo360AdvertiserLinkProposalsSettings();
513+
}
514+
515+
/**
516+
* Returns the object with the settings used for calls to
517+
* createDisplayVideo360AdvertiserLinkProposal.
518+
*/
519+
public UnaryCallSettings<
520+
CreateDisplayVideo360AdvertiserLinkProposalRequest, DisplayVideo360AdvertiserLinkProposal>
521+
createDisplayVideo360AdvertiserLinkProposalSettings() {
522+
return ((AnalyticsAdminServiceStubSettings) getStubSettings())
523+
.createDisplayVideo360AdvertiserLinkProposalSettings();
524+
}
525+
526+
/**
527+
* Returns the object with the settings used for calls to
528+
* deleteDisplayVideo360AdvertiserLinkProposal.
529+
*/
530+
public UnaryCallSettings<DeleteDisplayVideo360AdvertiserLinkProposalRequest, Empty>
531+
deleteDisplayVideo360AdvertiserLinkProposalSettings() {
532+
return ((AnalyticsAdminServiceStubSettings) getStubSettings())
533+
.deleteDisplayVideo360AdvertiserLinkProposalSettings();
534+
}
535+
536+
/**
537+
* Returns the object with the settings used for calls to
538+
* approveDisplayVideo360AdvertiserLinkProposal.
539+
*/
540+
public UnaryCallSettings<
541+
ApproveDisplayVideo360AdvertiserLinkProposalRequest,
542+
ApproveDisplayVideo360AdvertiserLinkProposalResponse>
543+
approveDisplayVideo360AdvertiserLinkProposalSettings() {
544+
return ((AnalyticsAdminServiceStubSettings) getStubSettings())
545+
.approveDisplayVideo360AdvertiserLinkProposalSettings();
546+
}
547+
548+
/**
549+
* Returns the object with the settings used for calls to
550+
* cancelDisplayVideo360AdvertiserLinkProposal.
551+
*/
552+
public UnaryCallSettings<
553+
CancelDisplayVideo360AdvertiserLinkProposalRequest, DisplayVideo360AdvertiserLinkProposal>
554+
cancelDisplayVideo360AdvertiserLinkProposalSettings() {
555+
return ((AnalyticsAdminServiceStubSettings) getStubSettings())
556+
.cancelDisplayVideo360AdvertiserLinkProposalSettings();
557+
}
558+
454559
/** Returns the object with the settings used for calls to createCustomDimension. */
455560
public UnaryCallSettings<CreateCustomDimensionRequest, CustomDimension>
456561
createCustomDimensionSettings() {
@@ -510,6 +615,20 @@ public UnaryCallSettings<GetCustomMetricRequest, CustomMetric> getCustomMetricSe
510615
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).getCustomMetricSettings();
511616
}
512617

618+
/** Returns the object with the settings used for calls to getDataRetentionSettings. */
619+
public UnaryCallSettings<GetDataRetentionSettingsRequest, DataRetentionSettings>
620+
getDataRetentionSettingsSettings() {
621+
return ((AnalyticsAdminServiceStubSettings) getStubSettings())
622+
.getDataRetentionSettingsSettings();
623+
}
624+
625+
/** Returns the object with the settings used for calls to updateDataRetentionSettings. */
626+
public UnaryCallSettings<UpdateDataRetentionSettingsRequest, DataRetentionSettings>
627+
updateDataRetentionSettingsSettings() {
628+
return ((AnalyticsAdminServiceStubSettings) getStubSettings())
629+
.updateDataRetentionSettingsSettings();
630+
}
631+
513632
public static final AnalyticsAdminServiceSettings create(AnalyticsAdminServiceStubSettings stub)
514633
throws IOException {
515634
return new AnalyticsAdminServiceSettings.Builder(stub.toBuilder()).build();
@@ -835,12 +954,6 @@ public UnaryCallSettings.Builder<DeleteUserLinkRequest, Empty> deleteUserLinkSet
835954
return getStubSettingsBuilder().createFirebaseLinkSettings();
836955
}
837956

838-
/** Returns the builder for the settings used for calls to updateFirebaseLink. */
839-
public UnaryCallSettings.Builder<UpdateFirebaseLinkRequest, FirebaseLink>
840-
updateFirebaseLinkSettings() {
841-
return getStubSettingsBuilder().updateFirebaseLinkSettings();
842-
}
843-
844957
/** Returns the builder for the settings used for calls to deleteFirebaseLink. */
845958
public UnaryCallSettings.Builder<DeleteFirebaseLinkRequest, Empty>
846959
deleteFirebaseLinkSettings() {
@@ -974,6 +1087,114 @@ public UnaryCallSettings.Builder<DeleteUserLinkRequest, Empty> deleteUserLinkSet
9741087
return getStubSettingsBuilder().listConversionEventsSettings();
9751088
}
9761089

1090+
/** Returns the builder for the settings used for calls to getDisplayVideo360AdvertiserLink. */
1091+
public UnaryCallSettings.Builder<
1092+
GetDisplayVideo360AdvertiserLinkRequest, DisplayVideo360AdvertiserLink>
1093+
getDisplayVideo360AdvertiserLinkSettings() {
1094+
return getStubSettingsBuilder().getDisplayVideo360AdvertiserLinkSettings();
1095+
}
1096+
1097+
/**
1098+
* Returns the builder for the settings used for calls to listDisplayVideo360AdvertiserLinks.
1099+
*/
1100+
public PagedCallSettings.Builder<
1101+
ListDisplayVideo360AdvertiserLinksRequest,
1102+
ListDisplayVideo360AdvertiserLinksResponse,
1103+
ListDisplayVideo360AdvertiserLinksPagedResponse>
1104+
listDisplayVideo360AdvertiserLinksSettings() {
1105+
return getStubSettingsBuilder().listDisplayVideo360AdvertiserLinksSettings();
1106+
}
1107+
1108+
/**
1109+
* Returns the builder for the settings used for calls to createDisplayVideo360AdvertiserLink.
1110+
*/
1111+
public UnaryCallSettings.Builder<
1112+
CreateDisplayVideo360AdvertiserLinkRequest, DisplayVideo360AdvertiserLink>
1113+
createDisplayVideo360AdvertiserLinkSettings() {
1114+
return getStubSettingsBuilder().createDisplayVideo360AdvertiserLinkSettings();
1115+
}
1116+
1117+
/**
1118+
* Returns the builder for the settings used for calls to deleteDisplayVideo360AdvertiserLink.
1119+
*/
1120+
public UnaryCallSettings.Builder<DeleteDisplayVideo360AdvertiserLinkRequest, Empty>
1121+
deleteDisplayVideo360AdvertiserLinkSettings() {
1122+
return getStubSettingsBuilder().deleteDisplayVideo360AdvertiserLinkSettings();
1123+
}
1124+
1125+
/**
1126+
* Returns the builder for the settings used for calls to updateDisplayVideo360AdvertiserLink.
1127+
*/
1128+
public UnaryCallSettings.Builder<
1129+
UpdateDisplayVideo360AdvertiserLinkRequest, DisplayVideo360AdvertiserLink>
1130+
updateDisplayVideo360AdvertiserLinkSettings() {
1131+
return getStubSettingsBuilder().updateDisplayVideo360AdvertiserLinkSettings();
1132+
}
1133+
1134+
/**
1135+
* Returns the builder for the settings used for calls to
1136+
* getDisplayVideo360AdvertiserLinkProposal.
1137+
*/
1138+
public UnaryCallSettings.Builder<
1139+
GetDisplayVideo360AdvertiserLinkProposalRequest, DisplayVideo360AdvertiserLinkProposal>
1140+
getDisplayVideo360AdvertiserLinkProposalSettings() {
1141+
return getStubSettingsBuilder().getDisplayVideo360AdvertiserLinkProposalSettings();
1142+
}
1143+
1144+
/**
1145+
* Returns the builder for the settings used for calls to
1146+
* listDisplayVideo360AdvertiserLinkProposals.
1147+
*/
1148+
public PagedCallSettings.Builder<
1149+
ListDisplayVideo360AdvertiserLinkProposalsRequest,
1150+
ListDisplayVideo360AdvertiserLinkProposalsResponse,
1151+
ListDisplayVideo360AdvertiserLinkProposalsPagedResponse>
1152+
listDisplayVideo360AdvertiserLinkProposalsSettings() {
1153+
return getStubSettingsBuilder().listDisplayVideo360AdvertiserLinkProposalsSettings();
1154+
}
1155+
1156+
/**
1157+
* Returns the builder for the settings used for calls to
1158+
* createDisplayVideo360AdvertiserLinkProposal.
1159+
*/
1160+
public UnaryCallSettings.Builder<
1161+
CreateDisplayVideo360AdvertiserLinkProposalRequest,
1162+
DisplayVideo360AdvertiserLinkProposal>
1163+
createDisplayVideo360AdvertiserLinkProposalSettings() {
1164+
return getStubSettingsBuilder().createDisplayVideo360AdvertiserLinkProposalSettings();
1165+
}
1166+
1167+
/**
1168+
* Returns the builder for the settings used for calls to
1169+
* deleteDisplayVideo360AdvertiserLinkProposal.
1170+
*/
1171+
public UnaryCallSettings.Builder<DeleteDisplayVideo360AdvertiserLinkProposalRequest, Empty>
1172+
deleteDisplayVideo360AdvertiserLinkProposalSettings() {
1173+
return getStubSettingsBuilder().deleteDisplayVideo360AdvertiserLinkProposalSettings();
1174+
}
1175+
1176+
/**
1177+
* Returns the builder for the settings used for calls to
1178+
* approveDisplayVideo360AdvertiserLinkProposal.
1179+
*/
1180+
public UnaryCallSettings.Builder<
1181+
ApproveDisplayVideo360AdvertiserLinkProposalRequest,
1182+
ApproveDisplayVideo360AdvertiserLinkProposalResponse>
1183+
approveDisplayVideo360AdvertiserLinkProposalSettings() {
1184+
return getStubSettingsBuilder().approveDisplayVideo360AdvertiserLinkProposalSettings();
1185+
}
1186+
1187+
/**
1188+
* Returns the builder for the settings used for calls to
1189+
* cancelDisplayVideo360AdvertiserLinkProposal.
1190+
*/
1191+
public UnaryCallSettings.Builder<
1192+
CancelDisplayVideo360AdvertiserLinkProposalRequest,
1193+
DisplayVideo360AdvertiserLinkProposal>
1194+
cancelDisplayVideo360AdvertiserLinkProposalSettings() {
1195+
return getStubSettingsBuilder().cancelDisplayVideo360AdvertiserLinkProposalSettings();
1196+
}
1197+
9771198
/** Returns the builder for the settings used for calls to createCustomDimension. */
9781199
public UnaryCallSettings.Builder<CreateCustomDimensionRequest, CustomDimension>
9791200
createCustomDimensionSettings() {
@@ -1038,6 +1259,18 @@ public UnaryCallSettings.Builder<DeleteUserLinkRequest, Empty> deleteUserLinkSet
10381259
return getStubSettingsBuilder().getCustomMetricSettings();
10391260
}
10401261

1262+
/** Returns the builder for the settings used for calls to getDataRetentionSettings. */
1263+
public UnaryCallSettings.Builder<GetDataRetentionSettingsRequest, DataRetentionSettings>
1264+
getDataRetentionSettingsSettings() {
1265+
return getStubSettingsBuilder().getDataRetentionSettingsSettings();
1266+
}
1267+
1268+
/** Returns the builder for the settings used for calls to updateDataRetentionSettings. */
1269+
public UnaryCallSettings.Builder<UpdateDataRetentionSettingsRequest, DataRetentionSettings>
1270+
updateDataRetentionSettingsSettings() {
1271+
return getStubSettingsBuilder().updateDataRetentionSettingsSettings();
1272+
}
1273+
10411274
@Override
10421275
public AnalyticsAdminServiceSettings build() throws IOException {
10431276
return new AnalyticsAdminServiceSettings(this);

0 commit comments

Comments
 (0)