Skip to content
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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions java-analytics-admin/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ Java idiomatic client for [Analytics Admin][product-docs].


If you are using Maven, add this to your pom.xml file:
<!-- {x-version-update-start:google-analytics-admin:released} -->

<!--- {x-version-update-start:google-analytics-admin:released} -->

```xml
<dependency>
Expand All @@ -38,7 +38,7 @@ If you are using SBT, add this to your dependencies:
```Scala
libraryDependencies += "com.google.analytics" % "google-analytics-admin" % "0.23.0"
```
<!--- {x-version-update-end} -->
<!-- {x-version-update-end} -->

## Authentication

Expand All @@ -55,7 +55,7 @@ The client application making API calls must be granted [authorization scopes][a
You will need a [Google Cloud Platform Console][developer-console] project with the Analytics Admin [API enabled][enable-api].
You will need to [enable billing][enable-billing] to use Google Analytics Admin.
[Follow these instructions][create-project] to get your project set up. You will also need to set up the local development environment by
[installing the Google Cloud SDK][cloud-sdk] and running the following commands in command line:
[installing the Google Cloud Command Line Interface][cloud-cli] and running the following commands in command line:
`gcloud auth login` and `gcloud config set project [YOUR PROJECT ID]`.

### Installation and setup
Expand Down Expand Up @@ -179,14 +179,14 @@ Java is a registered trademark of Oracle and/or its affiliates.
[kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html
[stability-image]: https://img.shields.io/badge/stability-preview-yellow
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.analytics/google-analytics-admin.svg
[maven-version-link]: https://search.maven.org/search?q=g:com.google.analytics%20AND%20a:google-analytics-admin&core=gav
[maven-version-link]: https://central.sonatype.com/artifact/com.google.analytics/google-analytics-admin/0.23.0
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
[iam-policy]: https://cloud.google.com/iam/docs/overview#cloud-iam-policy
[developer-console]: https://console.developers.google.com/
[create-project]: https://cloud.google.com/resource-manager/docs/creating-managing-projects
[cloud-sdk]: https://cloud.google.com/sdk/
[cloud-cli]: https://cloud.google.com/cli
[troubleshooting]: https://github.com/googleapis/google-cloud-common/blob/main/troubleshooting/readme.md#troubleshooting
[contributing]: https://github.com/googleapis/google-cloud-java/blob/main/CONTRIBUTING.md
[code-of-conduct]: https://github.com/googleapis/google-cloud-java/blob/main/CODE_OF_CONDUCT.md#contributor-code-of-conduct
Expand Down
8 changes: 4 additions & 4 deletions java-analytics-admin/google-analytics-admin-bom/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,22 +30,22 @@
<version>0.24.0-SNAPSHOT</version><!-- {x-version-update:google-analytics-admin:current} -->
</dependency>
<dependency>
<groupId>com.google.api.grpc</groupId>
<groupId>com.google.analytics.api.grpc</groupId>
<artifactId>grpc-google-analytics-admin-v1alpha</artifactId>
<version>0.24.0-SNAPSHOT</version><!-- {x-version-update:grpc-google-analytics-admin-v1alpha:current} -->
</dependency>
<dependency>
<groupId>com.google.api.grpc</groupId>
<groupId>com.google.analytics.api.grpc</groupId>
<artifactId>grpc-google-analytics-admin-v1beta</artifactId>
<version>0.24.0-SNAPSHOT</version><!-- {x-version-update:grpc-google-analytics-admin-v1beta:current} -->
</dependency>
<dependency>
<groupId>com.google.api.grpc</groupId>
<groupId>com.google.analytics.api.grpc</groupId>
<artifactId>proto-google-analytics-admin-v1alpha</artifactId>
<version>0.24.0-SNAPSHOT</version><!-- {x-version-update:proto-google-analytics-admin-v1alpha:current} -->
</dependency>
<dependency>
<groupId>com.google.api.grpc</groupId>
<groupId>com.google.analytics.api.grpc</groupId>
<artifactId>proto-google-analytics-admin-v1beta</artifactId>
<version>0.24.0-SNAPSHOT</version><!-- {x-version-update:proto-google-analytics-admin-v1beta:current} -->
</dependency>
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -768,6 +768,37 @@ public UnaryCallSettings<GetBigQueryLinkRequest, BigQueryLink> getBigQueryLinkSe
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).listBigQueryLinksSettings();
}

/** Returns the object with the settings used for calls to getEnhancedMeasurementSettings. */
public UnaryCallSettings<GetEnhancedMeasurementSettingsRequest, EnhancedMeasurementSettings>
getEnhancedMeasurementSettingsSettings() {
return ((AnalyticsAdminServiceStubSettings) getStubSettings())
.getEnhancedMeasurementSettingsSettings();
}

/** Returns the object with the settings used for calls to updateEnhancedMeasurementSettings. */
public UnaryCallSettings<UpdateEnhancedMeasurementSettingsRequest, EnhancedMeasurementSettings>
updateEnhancedMeasurementSettingsSettings() {
return ((AnalyticsAdminServiceStubSettings) getStubSettings())
.updateEnhancedMeasurementSettingsSettings();
}

/** Returns the object with the settings used for calls to createConnectedSiteTag. */
public UnaryCallSettings<CreateConnectedSiteTagRequest, CreateConnectedSiteTagResponse>
createConnectedSiteTagSettings() {
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).createConnectedSiteTagSettings();
}

/** Returns the object with the settings used for calls to deleteConnectedSiteTag. */
public UnaryCallSettings<DeleteConnectedSiteTagRequest, Empty> deleteConnectedSiteTagSettings() {
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).deleteConnectedSiteTagSettings();
}

/** Returns the object with the settings used for calls to listConnectedSiteTags. */
public UnaryCallSettings<ListConnectedSiteTagsRequest, ListConnectedSiteTagsResponse>
listConnectedSiteTagsSettings() {
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).listConnectedSiteTagsSettings();
}

public static final AnalyticsAdminServiceSettings create(AnalyticsAdminServiceStubSettings stub)
throws IOException {
return new AnalyticsAdminServiceSettings.Builder(stub.toBuilder()).build();
Expand Down Expand Up @@ -1565,6 +1596,38 @@ public UnaryCallSettings.Builder<ArchiveAudienceRequest, Empty> archiveAudienceS
return getStubSettingsBuilder().listBigQueryLinksSettings();
}

/** Returns the builder for the settings used for calls to getEnhancedMeasurementSettings. */
public UnaryCallSettings.Builder<
GetEnhancedMeasurementSettingsRequest, EnhancedMeasurementSettings>
getEnhancedMeasurementSettingsSettings() {
return getStubSettingsBuilder().getEnhancedMeasurementSettingsSettings();
}

/** Returns the builder for the settings used for calls to updateEnhancedMeasurementSettings. */
public UnaryCallSettings.Builder<
UpdateEnhancedMeasurementSettingsRequest, EnhancedMeasurementSettings>
updateEnhancedMeasurementSettingsSettings() {
return getStubSettingsBuilder().updateEnhancedMeasurementSettingsSettings();
}

/** Returns the builder for the settings used for calls to createConnectedSiteTag. */
public UnaryCallSettings.Builder<CreateConnectedSiteTagRequest, CreateConnectedSiteTagResponse>
createConnectedSiteTagSettings() {
return getStubSettingsBuilder().createConnectedSiteTagSettings();
}

/** Returns the builder for the settings used for calls to deleteConnectedSiteTag. */
public UnaryCallSettings.Builder<DeleteConnectedSiteTagRequest, Empty>
deleteConnectedSiteTagSettings() {
return getStubSettingsBuilder().deleteConnectedSiteTagSettings();
}

/** Returns the builder for the settings used for calls to listConnectedSiteTags. */
public UnaryCallSettings.Builder<ListConnectedSiteTagsRequest, ListConnectedSiteTagsResponse>
listConnectedSiteTagsSettings() {
return getStubSettingsBuilder().listConnectedSiteTagsSettings();
}

@Override
public AnalyticsAdminServiceSettings build() throws IOException {
return new AnalyticsAdminServiceSettings(this);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@
"CreateAudience": {
"methods": ["createAudience", "createAudience", "createAudience", "createAudienceCallable"]
},
"CreateConnectedSiteTag": {
"methods": ["createConnectedSiteTag", "createConnectedSiteTagCallable"]
},
"CreateConversionEvent": {
"methods": ["createConversionEvent", "createConversionEvent", "createConversionEvent", "createConversionEventCallable"]
},
Expand Down Expand Up @@ -106,6 +109,9 @@
"DeleteAccount": {
"methods": ["deleteAccount", "deleteAccount", "deleteAccount", "deleteAccountCallable"]
},
"DeleteConnectedSiteTag": {
"methods": ["deleteConnectedSiteTag", "deleteConnectedSiteTagCallable"]
},
"DeleteConversionEvent": {
"methods": ["deleteConversionEvent", "deleteConversionEvent", "deleteConversionEvent", "deleteConversionEventCallable"]
},
Expand Down Expand Up @@ -181,6 +187,9 @@
"GetDisplayVideo360AdvertiserLinkProposal": {
"methods": ["getDisplayVideo360AdvertiserLinkProposal", "getDisplayVideo360AdvertiserLinkProposal", "getDisplayVideo360AdvertiserLinkProposal", "getDisplayVideo360AdvertiserLinkProposalCallable"]
},
"GetEnhancedMeasurementSettings": {
"methods": ["getEnhancedMeasurementSettings", "getEnhancedMeasurementSettings", "getEnhancedMeasurementSettings", "getEnhancedMeasurementSettingsCallable"]
},
"GetExpandedDataSet": {
"methods": ["getExpandedDataSet", "getExpandedDataSet", "getExpandedDataSet", "getExpandedDataSetCallable"]
},
Expand Down Expand Up @@ -217,6 +226,9 @@
"ListBigQueryLinks": {
"methods": ["listBigQueryLinks", "listBigQueryLinks", "listBigQueryLinks", "listBigQueryLinksPagedCallable", "listBigQueryLinksCallable"]
},
"ListConnectedSiteTags": {
"methods": ["listConnectedSiteTags", "listConnectedSiteTagsCallable"]
},
"ListConversionEvents": {
"methods": ["listConversionEvents", "listConversionEvents", "listConversionEvents", "listConversionEventsPagedCallable", "listConversionEventsCallable"]
},
Expand Down Expand Up @@ -295,6 +307,9 @@
"UpdateDisplayVideo360AdvertiserLink": {
"methods": ["updateDisplayVideo360AdvertiserLink", "updateDisplayVideo360AdvertiserLink", "updateDisplayVideo360AdvertiserLinkCallable"]
},
"UpdateEnhancedMeasurementSettings": {
"methods": ["updateEnhancedMeasurementSettings", "updateEnhancedMeasurementSettings", "updateEnhancedMeasurementSettingsCallable"]
},
"UpdateExpandedDataSet": {
"methods": ["updateExpandedDataSet", "updateExpandedDataSet", "updateExpandedDataSetCallable"]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@
import com.google.analytics.admin.v1alpha.ConversionEvent;
import com.google.analytics.admin.v1alpha.CreateAccessBindingRequest;
import com.google.analytics.admin.v1alpha.CreateAudienceRequest;
import com.google.analytics.admin.v1alpha.CreateConnectedSiteTagRequest;
import com.google.analytics.admin.v1alpha.CreateConnectedSiteTagResponse;
import com.google.analytics.admin.v1alpha.CreateConversionEventRequest;
import com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest;
import com.google.analytics.admin.v1alpha.CreateCustomMetricRequest;
Expand All @@ -89,6 +91,7 @@
import com.google.analytics.admin.v1alpha.DataStream;
import com.google.analytics.admin.v1alpha.DeleteAccessBindingRequest;
import com.google.analytics.admin.v1alpha.DeleteAccountRequest;
import com.google.analytics.admin.v1alpha.DeleteConnectedSiteTagRequest;
import com.google.analytics.admin.v1alpha.DeleteConversionEventRequest;
import com.google.analytics.admin.v1alpha.DeleteDataStreamRequest;
import com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest;
Expand All @@ -102,6 +105,7 @@
import com.google.analytics.admin.v1alpha.DeleteUserLinkRequest;
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.ExpandedDataSet;
import com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutRequest;
import com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutResponse;
Expand All @@ -119,6 +123,7 @@
import com.google.analytics.admin.v1alpha.GetDataStreamRequest;
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.GetExpandedDataSetRequest;
import com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest;
import com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest;
Expand All @@ -139,6 +144,8 @@
import com.google.analytics.admin.v1alpha.ListAudiencesResponse;
import com.google.analytics.admin.v1alpha.ListBigQueryLinksRequest;
import com.google.analytics.admin.v1alpha.ListBigQueryLinksResponse;
import com.google.analytics.admin.v1alpha.ListConnectedSiteTagsRequest;
import com.google.analytics.admin.v1alpha.ListConnectedSiteTagsResponse;
import com.google.analytics.admin.v1alpha.ListConversionEventsRequest;
import com.google.analytics.admin.v1alpha.ListConversionEventsResponse;
import com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest;
Expand Down Expand Up @@ -185,6 +192,7 @@
import com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest;
import com.google.analytics.admin.v1alpha.UpdateDataStreamRequest;
import com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest;
import com.google.analytics.admin.v1alpha.UpdateEnhancedMeasurementSettingsRequest;
import com.google.analytics.admin.v1alpha.UpdateExpandedDataSetRequest;
import com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest;
import com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest;
Expand Down Expand Up @@ -810,6 +818,32 @@ public UnaryCallable<GetBigQueryLinkRequest, BigQueryLink> getBigQueryLinkCallab
throw new UnsupportedOperationException("Not implemented: listBigQueryLinksCallable()");
}

public UnaryCallable<GetEnhancedMeasurementSettingsRequest, EnhancedMeasurementSettings>
getEnhancedMeasurementSettingsCallable() {
throw new UnsupportedOperationException(
"Not implemented: getEnhancedMeasurementSettingsCallable()");
}

public UnaryCallable<UpdateEnhancedMeasurementSettingsRequest, EnhancedMeasurementSettings>
updateEnhancedMeasurementSettingsCallable() {
throw new UnsupportedOperationException(
"Not implemented: updateEnhancedMeasurementSettingsCallable()");
}

public UnaryCallable<CreateConnectedSiteTagRequest, CreateConnectedSiteTagResponse>
createConnectedSiteTagCallable() {
throw new UnsupportedOperationException("Not implemented: createConnectedSiteTagCallable()");
}

public UnaryCallable<DeleteConnectedSiteTagRequest, Empty> deleteConnectedSiteTagCallable() {
throw new UnsupportedOperationException("Not implemented: deleteConnectedSiteTagCallable()");
}

public UnaryCallable<ListConnectedSiteTagsRequest, ListConnectedSiteTagsResponse>
listConnectedSiteTagsCallable() {
throw new UnsupportedOperationException("Not implemented: listConnectedSiteTagsCallable()");
}

@Override
public abstract void close();
}
Loading