Skip to content

Commit 03ef755

Browse files
authored
chore!: move FirestoreAdminClient and associated classes to new artifact google-cloud-firestore-admin (#311)
* All classes are retained in the new artifact * New version defined in versions.txt for new artifact * For now, version number is set to be the same as google-cloud-firestore
1 parent 96adacb commit 03ef755

File tree

18 files changed

+208
-258
lines changed

18 files changed

+208
-258
lines changed
Lines changed: 144 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,144 @@
1+
<?xml version="1.0"?>
2+
<project xmlns="http://maven.apache.org/POM/4.0.0"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5+
<modelVersion>4.0.0</modelVersion>
6+
<artifactId>google-cloud-firestore-admin</artifactId>
7+
<version>1.35.3-SNAPSHOT</version><!-- {x-version-update:google-cloud-firestore-admin:current} -->
8+
<packaging>jar</packaging>
9+
<name>Google Cloud Firestore Admin Client</name>
10+
<url>https://github.com/googleapis/java-firestore/tree/master
11+
</url>
12+
<description>
13+
Java idiomatic client for Google Cloud Firestore Admin API.
14+
</description>
15+
<parent>
16+
<groupId>com.google.cloud</groupId>
17+
<artifactId>google-cloud-firestore-parent</artifactId>
18+
<version>1.35.3-SNAPSHOT</version><!-- {x-version-update:google-cloud-firestore-parent:current} -->
19+
</parent>
20+
<dependencies>
21+
<dependency>
22+
<groupId>com.google.api.grpc</groupId>
23+
<artifactId>proto-google-cloud-firestore-admin-v1</artifactId>
24+
</dependency>
25+
<dependency>
26+
<groupId>com.google.api.grpc</groupId>
27+
<artifactId>grpc-google-cloud-firestore-admin-v1</artifactId>
28+
<scope>test</scope>
29+
</dependency>
30+
<dependency>
31+
<groupId>com.google.api</groupId>
32+
<artifactId>api-common</artifactId>
33+
</dependency>
34+
<dependency>
35+
<groupId>io.grpc</groupId>
36+
<artifactId>grpc-protobuf</artifactId>
37+
</dependency>
38+
<dependency>
39+
<groupId>com.google.protobuf</groupId>
40+
<artifactId>protobuf-java</artifactId>
41+
</dependency>
42+
<dependency>
43+
<groupId>com.google.api.grpc</groupId>
44+
<artifactId>proto-google-common-protos</artifactId>
45+
</dependency>
46+
<dependency>
47+
<groupId>com.google.api</groupId>
48+
<artifactId>gax</artifactId>
49+
</dependency>
50+
<dependency>
51+
<groupId>io.grpc</groupId>
52+
<artifactId>grpc-api</artifactId>
53+
</dependency>
54+
<dependency>
55+
<groupId>com.google.api</groupId>
56+
<artifactId>gax-grpc</artifactId>
57+
</dependency>
58+
<dependency>
59+
<groupId>com.google.guava</groupId>
60+
<artifactId>guava</artifactId>
61+
</dependency>
62+
<dependency>
63+
<groupId>org.threeten</groupId>
64+
<artifactId>threetenbp</artifactId>
65+
</dependency>
66+
<dependency>
67+
<groupId>io.grpc</groupId>
68+
<artifactId>grpc-stub</artifactId>
69+
</dependency>
70+
71+
72+
<!-- Test dependencies -->
73+
<dependency>
74+
<groupId>junit</groupId>
75+
<artifactId>junit</artifactId>
76+
<scope>test</scope>
77+
</dependency>
78+
<!-- Need testing utility classes for generated gRPC clients tests -->
79+
<dependency>
80+
<groupId>com.google.api</groupId>
81+
<artifactId>gax-grpc</artifactId>
82+
<classifier>testlib</classifier>
83+
<scope>test</scope>
84+
</dependency>
85+
</dependencies>
86+
87+
<reporting>
88+
<plugins>
89+
<plugin>
90+
<groupId>org.apache.maven.plugins</groupId>
91+
<artifactId>maven-javadoc-plugin</artifactId>
92+
<version>3.2.0</version>
93+
<configuration>
94+
<show>protected</show>
95+
<nohelp>true</nohelp>
96+
<doclint>none</doclint>
97+
<splitindex>true</splitindex>
98+
<offlineLinks>
99+
<offlineLink>
100+
<url>${project.javadoc.protobufBaseURL}</url>
101+
<location>../../../../../google-api-grpc/proto-google-cloud-firestore-admin-v1/target/site/apidocs/</location>
102+
</offlineLink>
103+
<offlineLink>
104+
<url>${project.javadoc.protobufBaseURL}</url>
105+
<location>../../../../../google-api-grpc/grpc-google-cloud-firestore-admin-v1/target/site/apidocs/</location>
106+
</offlineLink>
107+
<offlineLink>
108+
<url>${project.javadoc.protobufBaseURL}</url>
109+
<location>../../../../../google-api-grpc/proto-google-cloud-firestore-v1/target/site/apidocs/</location>
110+
</offlineLink>
111+
<offlineLink>
112+
<url>${project.javadoc.protobufBaseURL}</url>
113+
<location>../../../../../google-api-grpc/grpc-google-cloud-firestore-v1/target/site/apidocs/</location>
114+
</offlineLink>
115+
</offlineLinks>
116+
</configuration>
117+
</plugin>
118+
</plugins>
119+
</reporting>
120+
121+
<build>
122+
<plugins>
123+
<plugin>
124+
<groupId>org.codehaus.mojo</groupId>
125+
<artifactId>flatten-maven-plugin</artifactId>
126+
</plugin>
127+
</plugins>
128+
</build>
129+
130+
<profiles>
131+
<profile>
132+
<id>java9</id>
133+
<activation>
134+
<jdk>[9,)</jdk>
135+
</activation>
136+
<dependencies>
137+
<dependency>
138+
<groupId>javax.annotation</groupId>
139+
<artifactId>javax.annotation-api</artifactId>
140+
</dependency>
141+
</dependencies>
142+
</profile>
143+
</profiles>
144+
</project>
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
/*
2+
* Copyright 2020 Google LLC
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* https://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
17+
/**
18+
* A client to Google Cloud Firestore Admin API.
19+
*
20+
* <p>The interfaces provided are listed below, along with usage samples.
21+
*
22+
* <p>==================== FirestoreAdminClient ====================
23+
*
24+
* <p>Service Description: Operations are created by service `FirestoreAdmin`, but are accessed via
25+
* service `google.longrunning.Operations`.
26+
*
27+
* <p>Sample for FirestoreAdminClient:
28+
*
29+
* <pre>
30+
* <code>
31+
* try (FirestoreAdminClient firestoreAdminClient = FirestoreAdminClient.create()) {
32+
* IndexName name = IndexName.of("[PROJECT]", "[DATABASE]", "[COLLECTION]", "[INDEX]");
33+
* firestoreAdminClient.deleteIndex(name);
34+
* }
35+
* </code>
36+
* </pre>
37+
*/
38+
@Generated("by gapic-generator")
39+
package com.google.cloud.firestore.v1;
40+
41+
import javax.annotation.Generated;

0 commit comments

Comments
 (0)