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

Commit 5c4e487

Browse files
chore: regenerate README versions (#28)
This PR was generated using Autosynth. 🌈 Synth log will be available here: https://source.cloud.google.com/results/invocations/648af215-63ce-4790-93d6-b59d591dbfff/targets - [ ] To automatically regenerate this PR, check this box.
1 parent 9c4c45c commit 5c4e487

3 files changed

Lines changed: 96 additions & 2 deletions

File tree

README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ If you are using Maven, add this to your pom.xml file:
2020
<dependency>
2121
<groupId>com.google.analytics</groupId>
2222
<artifactId>google-analytics-admin</artifactId>
23-
<version>0.0.0</version>
23+
<version>0.1.1</version>
2424
</dependency>
2525
```
2626

@@ -67,6 +67,16 @@ use this Analytics Admin Client Library.
6767

6868

6969

70+
## Samples
71+
72+
Samples are in the [`samples/`](https://github.com/googleapis/java-analytics-admin/tree/master/samples) directory. The samples' `README.md`
73+
has instructions for running the samples.
74+
75+
| Sample | Source Code | Try it |
76+
| --------------------------- | --------------------------------- | ------ |
77+
| Quickstart Sample | [source code](https://github.com/googleapis/java-analytics-admin/blob/master/samples/snippets/src/main/java/com/example/analyticsadmin/QuickstartSample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-analytics-admin&page=editor&open_in_editor=samples/snippets/src/main/java/com/example/analyticsadmin/QuickstartSample.java) |
78+
79+
7080

7181
## Troubleshooting
7282

Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
<?xml version='1.0' encoding='UTF-8'?>
2+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3+
<modelVersion>4.0.0</modelVersion>
4+
<groupId>com.google.cloud</groupId>
5+
<artifactId>analytics-admin-install-without-bom</artifactId>
6+
<packaging>jar</packaging>
7+
<name>Google Analytics Admin Install Without Bom</name>
8+
<url>https://github.com/googleapis/java-analytics-admin</url>
9+
10+
<!--
11+
The parent pom defines common style checks and testing strategies for our samples.
12+
Removing or replacing it should not affect the execution of the samples in anyway.
13+
-->
14+
<parent>
15+
<groupId>com.google.cloud.samples</groupId>
16+
<artifactId>shared-configuration</artifactId>
17+
<version>1.0.12</version>
18+
</parent>
19+
20+
<properties>
21+
<maven.compiler.target>1.8</maven.compiler.target>
22+
<maven.compiler.source>1.8</maven.compiler.source>
23+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
24+
</properties>
25+
26+
27+
<dependencies>
28+
<!-- [START analytics-admin_install_without_bom] -->
29+
<dependency>
30+
<groupId>com.google.analytics</groupId>
31+
<artifactId>google-analytics-admin</artifactId>
32+
<version>0.1.1</version>
33+
</dependency>
34+
<!-- [END analytics-admin_install_without_bom] -->
35+
36+
<dependency>
37+
<groupId>junit</groupId>
38+
<artifactId>junit</artifactId>
39+
<version>4.13</version>
40+
<scope>test</scope>
41+
</dependency>
42+
<dependency>
43+
<groupId>com.google.truth</groupId>
44+
<artifactId>truth</artifactId>
45+
<version>1.0.1</version>
46+
<scope>test</scope>
47+
</dependency>
48+
</dependencies>
49+
50+
<!-- compile and run all snippet tests -->
51+
<build>
52+
<plugins>
53+
<plugin>
54+
<groupId>org.codehaus.mojo</groupId>
55+
<artifactId>build-helper-maven-plugin</artifactId>
56+
<version>3.1.0</version>
57+
<executions>
58+
<execution>
59+
<id>add-snippets-source</id>
60+
<goals>
61+
<goal>add-source</goal>
62+
</goals>
63+
<configuration>
64+
<sources>
65+
<source>../snippets/src/main/java</source>
66+
</sources>
67+
</configuration>
68+
</execution>
69+
<execution>
70+
<id>add-snippets-tests</id>
71+
<goals>
72+
<goal>add-test-source</goal>
73+
</goals>
74+
<configuration>
75+
<sources>
76+
<source>../snippets/src/test/java</source>
77+
</sources>
78+
</configuration>
79+
</execution>
80+
</executions>
81+
</plugin>
82+
</plugins>
83+
</build>
84+
</project>

synth.metadata

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"git": {
55
"name": ".",
66
"remote": "https://github.com/googleapis/java-analytics-admin.git",
7-
"sha": "dde01446cb6e73c568f1f778a3b03427ad9135ab"
7+
"sha": "9c4c45c2d6e60aad61a800fafec343011fdef926"
88
}
99
},
1010
{

0 commit comments

Comments
 (0)