Skip to content

Commit

Permalink
feat: [analyticsdata] add CreateRecurringAudienceList, `GetRecurrin…
Browse files Browse the repository at this point in the history
…gAudienceList`, `ListRecurringAudienceLists` methods to the Data API v1 alpha (#10092)

* feat: add `CreateRecurringAudienceList`, `GetRecurringAudienceList`, `ListRecurringAudienceLists` methods to the Data API v1 alpha
feat: add the `RecurringAudienceList` type
feat: add `percentage_completed`, `recurring_audience_list` fields to the `AudienceList` resource

PiperOrigin-RevId: 586431787

Source-Link: googleapis/googleapis@9ca4a25

Source-Link: googleapis/googleapis-gen@eb27a8f
Copy-Tag: eyJwIjoiamF2YS1hbmFseXRpY3MtZGF0YS8uT3dsQm90LnlhbWwiLCJoIjoiZWIyN2E4ZmViODNmNDQ2MmI0ZjNiZjNkMGI0ZWY2Y2ZhZmEyOWE5OCJ9

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

---------

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] committed Nov 30, 2023
1 parent 6b0166b commit e4f430e
Show file tree
Hide file tree
Showing 41 changed files with 11,102 additions and 173 deletions.
2 changes: 1 addition & 1 deletion java-analytics-data/README.md
Expand Up @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>libraries-bom</artifactId>
<version>26.26.0</version>
<version>26.27.0</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand Down

Large diffs are not rendered by default.

Expand Up @@ -17,6 +17,7 @@
package com.google.analytics.data.v1alpha;

import static com.google.analytics.data.v1alpha.AlphaAnalyticsDataClient.ListAudienceListsPagedResponse;
import static com.google.analytics.data.v1alpha.AlphaAnalyticsDataClient.ListRecurringAudienceListsPagedResponse;

import com.google.analytics.data.v1alpha.stub.AlphaAnalyticsDataStubSettings;
import com.google.api.core.ApiFunction;
Expand Down Expand Up @@ -121,6 +122,29 @@ public UnaryCallSettings<GetAudienceListRequest, AudienceList> getAudienceListSe
return ((AlphaAnalyticsDataStubSettings) getStubSettings()).listAudienceListsSettings();
}

/** Returns the object with the settings used for calls to createRecurringAudienceList. */
public UnaryCallSettings<CreateRecurringAudienceListRequest, RecurringAudienceList>
createRecurringAudienceListSettings() {
return ((AlphaAnalyticsDataStubSettings) getStubSettings())
.createRecurringAudienceListSettings();
}

/** Returns the object with the settings used for calls to getRecurringAudienceList. */
public UnaryCallSettings<GetRecurringAudienceListRequest, RecurringAudienceList>
getRecurringAudienceListSettings() {
return ((AlphaAnalyticsDataStubSettings) getStubSettings()).getRecurringAudienceListSettings();
}

/** Returns the object with the settings used for calls to listRecurringAudienceLists. */
public PagedCallSettings<
ListRecurringAudienceListsRequest,
ListRecurringAudienceListsResponse,
ListRecurringAudienceListsPagedResponse>
listRecurringAudienceListsSettings() {
return ((AlphaAnalyticsDataStubSettings) getStubSettings())
.listRecurringAudienceListsSettings();
}

public static final AlphaAnalyticsDataSettings create(AlphaAnalyticsDataStubSettings stub)
throws IOException {
return new AlphaAnalyticsDataSettings.Builder(stub.toBuilder()).build();
Expand Down Expand Up @@ -281,6 +305,27 @@ public Builder applyToAllUnaryMethods(
return getStubSettingsBuilder().listAudienceListsSettings();
}

/** Returns the builder for the settings used for calls to createRecurringAudienceList. */
public UnaryCallSettings.Builder<CreateRecurringAudienceListRequest, RecurringAudienceList>
createRecurringAudienceListSettings() {
return getStubSettingsBuilder().createRecurringAudienceListSettings();
}

/** Returns the builder for the settings used for calls to getRecurringAudienceList. */
public UnaryCallSettings.Builder<GetRecurringAudienceListRequest, RecurringAudienceList>
getRecurringAudienceListSettings() {
return getStubSettingsBuilder().getRecurringAudienceListSettings();
}

/** Returns the builder for the settings used for calls to listRecurringAudienceLists. */
public PagedCallSettings.Builder<
ListRecurringAudienceListsRequest,
ListRecurringAudienceListsResponse,
ListRecurringAudienceListsPagedResponse>
listRecurringAudienceListsSettings() {
return getStubSettingsBuilder().listRecurringAudienceListsSettings();
}

@Override
public AlphaAnalyticsDataSettings build() throws IOException {
return new AlphaAnalyticsDataSettings(this);
Expand Down
Expand Up @@ -13,12 +13,21 @@
"CreateAudienceList": {
"methods": ["createAudienceListAsync", "createAudienceListAsync", "createAudienceListAsync", "createAudienceListOperationCallable", "createAudienceListCallable"]
},
"CreateRecurringAudienceList": {
"methods": ["createRecurringAudienceList", "createRecurringAudienceList", "createRecurringAudienceList", "createRecurringAudienceListCallable"]
},
"GetAudienceList": {
"methods": ["getAudienceList", "getAudienceList", "getAudienceList", "getAudienceListCallable"]
},
"GetRecurringAudienceList": {
"methods": ["getRecurringAudienceList", "getRecurringAudienceList", "getRecurringAudienceList", "getRecurringAudienceListCallable"]
},
"ListAudienceLists": {
"methods": ["listAudienceLists", "listAudienceLists", "listAudienceLists", "listAudienceListsPagedCallable", "listAudienceListsCallable"]
},
"ListRecurringAudienceLists": {
"methods": ["listRecurringAudienceLists", "listRecurringAudienceLists", "listRecurringAudienceLists", "listRecurringAudienceListsPagedCallable", "listRecurringAudienceListsCallable"]
},
"QueryAudienceList": {
"methods": ["queryAudienceList", "queryAudienceList", "queryAudienceListCallable"]
},
Expand Down
Expand Up @@ -17,15 +17,21 @@
package com.google.analytics.data.v1alpha.stub;

import static com.google.analytics.data.v1alpha.AlphaAnalyticsDataClient.ListAudienceListsPagedResponse;
import static com.google.analytics.data.v1alpha.AlphaAnalyticsDataClient.ListRecurringAudienceListsPagedResponse;

import com.google.analytics.data.v1alpha.AudienceList;
import com.google.analytics.data.v1alpha.AudienceListMetadata;
import com.google.analytics.data.v1alpha.CreateAudienceListRequest;
import com.google.analytics.data.v1alpha.CreateRecurringAudienceListRequest;
import com.google.analytics.data.v1alpha.GetAudienceListRequest;
import com.google.analytics.data.v1alpha.GetRecurringAudienceListRequest;
import com.google.analytics.data.v1alpha.ListAudienceListsRequest;
import com.google.analytics.data.v1alpha.ListAudienceListsResponse;
import com.google.analytics.data.v1alpha.ListRecurringAudienceListsRequest;
import com.google.analytics.data.v1alpha.ListRecurringAudienceListsResponse;
import com.google.analytics.data.v1alpha.QueryAudienceListRequest;
import com.google.analytics.data.v1alpha.QueryAudienceListResponse;
import com.google.analytics.data.v1alpha.RecurringAudienceList;
import com.google.analytics.data.v1alpha.RunFunnelReportRequest;
import com.google.analytics.data.v1alpha.RunFunnelReportResponse;
import com.google.analytics.data.v1alpha.SheetExportAudienceListRequest;
Expand Down Expand Up @@ -94,6 +100,29 @@ public UnaryCallable<GetAudienceListRequest, AudienceList> getAudienceListCallab
throw new UnsupportedOperationException("Not implemented: listAudienceListsCallable()");
}

public UnaryCallable<CreateRecurringAudienceListRequest, RecurringAudienceList>
createRecurringAudienceListCallable() {
throw new UnsupportedOperationException(
"Not implemented: createRecurringAudienceListCallable()");
}

public UnaryCallable<GetRecurringAudienceListRequest, RecurringAudienceList>
getRecurringAudienceListCallable() {
throw new UnsupportedOperationException("Not implemented: getRecurringAudienceListCallable()");
}

public UnaryCallable<ListRecurringAudienceListsRequest, ListRecurringAudienceListsPagedResponse>
listRecurringAudienceListsPagedCallable() {
throw new UnsupportedOperationException(
"Not implemented: listRecurringAudienceListsPagedCallable()");
}

public UnaryCallable<ListRecurringAudienceListsRequest, ListRecurringAudienceListsResponse>
listRecurringAudienceListsCallable() {
throw new UnsupportedOperationException(
"Not implemented: listRecurringAudienceListsCallable()");
}

@Override
public abstract void close();
}

0 comments on commit e4f430e

Please sign in to comment.