Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: [analyticsdata] add CreateRecurringAudienceList, GetRecurringAudienceList, ListRecurringAudienceLists methods to the Data API v1 alpha #10092

Merged
merged 2 commits into from Nov 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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();
}