Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore!: move FirestoreAdminClient and associated classes to new artif…
…act 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
- Loading branch information
1 parent
96adacb
commit 03ef755
Showing
18 changed files
with
208 additions
and
258 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,144 @@ | ||
<?xml version="1.0"?> | ||
<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"> | ||
<modelVersion>4.0.0</modelVersion> | ||
<artifactId>google-cloud-firestore-admin</artifactId> | ||
<version>1.35.3-SNAPSHOT</version><!-- {x-version-update:google-cloud-firestore-admin:current} --> | ||
<packaging>jar</packaging> | ||
<name>Google Cloud Firestore Admin Client</name> | ||
<url>https://github.com/googleapis/java-firestore/tree/master | ||
</url> | ||
<description> | ||
Java idiomatic client for Google Cloud Firestore Admin API. | ||
</description> | ||
<parent> | ||
<groupId>com.google.cloud</groupId> | ||
<artifactId>google-cloud-firestore-parent</artifactId> | ||
<version>1.35.3-SNAPSHOT</version><!-- {x-version-update:google-cloud-firestore-parent:current} --> | ||
</parent> | ||
<dependencies> | ||
<dependency> | ||
<groupId>com.google.api.grpc</groupId> | ||
<artifactId>proto-google-cloud-firestore-admin-v1</artifactId> | ||
</dependency> | ||
<dependency> | ||
<groupId>com.google.api.grpc</groupId> | ||
<artifactId>grpc-google-cloud-firestore-admin-v1</artifactId> | ||
<scope>test</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>com.google.api</groupId> | ||
<artifactId>api-common</artifactId> | ||
</dependency> | ||
<dependency> | ||
<groupId>io.grpc</groupId> | ||
<artifactId>grpc-protobuf</artifactId> | ||
</dependency> | ||
<dependency> | ||
<groupId>com.google.protobuf</groupId> | ||
<artifactId>protobuf-java</artifactId> | ||
</dependency> | ||
<dependency> | ||
<groupId>com.google.api.grpc</groupId> | ||
<artifactId>proto-google-common-protos</artifactId> | ||
</dependency> | ||
<dependency> | ||
<groupId>com.google.api</groupId> | ||
<artifactId>gax</artifactId> | ||
</dependency> | ||
<dependency> | ||
<groupId>io.grpc</groupId> | ||
<artifactId>grpc-api</artifactId> | ||
</dependency> | ||
<dependency> | ||
<groupId>com.google.api</groupId> | ||
<artifactId>gax-grpc</artifactId> | ||
</dependency> | ||
<dependency> | ||
<groupId>com.google.guava</groupId> | ||
<artifactId>guava</artifactId> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.threeten</groupId> | ||
<artifactId>threetenbp</artifactId> | ||
</dependency> | ||
<dependency> | ||
<groupId>io.grpc</groupId> | ||
<artifactId>grpc-stub</artifactId> | ||
</dependency> | ||
|
||
|
||
<!-- Test dependencies --> | ||
<dependency> | ||
<groupId>junit</groupId> | ||
<artifactId>junit</artifactId> | ||
<scope>test</scope> | ||
</dependency> | ||
<!-- Need testing utility classes for generated gRPC clients tests --> | ||
<dependency> | ||
<groupId>com.google.api</groupId> | ||
<artifactId>gax-grpc</artifactId> | ||
<classifier>testlib</classifier> | ||
<scope>test</scope> | ||
</dependency> | ||
</dependencies> | ||
|
||
<reporting> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-javadoc-plugin</artifactId> | ||
<version>3.2.0</version> | ||
<configuration> | ||
<show>protected</show> | ||
<nohelp>true</nohelp> | ||
<doclint>none</doclint> | ||
<splitindex>true</splitindex> | ||
<offlineLinks> | ||
<offlineLink> | ||
<url>${project.javadoc.protobufBaseURL}</url> | ||
<location>../../../../../google-api-grpc/proto-google-cloud-firestore-admin-v1/target/site/apidocs/</location> | ||
</offlineLink> | ||
<offlineLink> | ||
<url>${project.javadoc.protobufBaseURL}</url> | ||
<location>../../../../../google-api-grpc/grpc-google-cloud-firestore-admin-v1/target/site/apidocs/</location> | ||
</offlineLink> | ||
<offlineLink> | ||
<url>${project.javadoc.protobufBaseURL}</url> | ||
<location>../../../../../google-api-grpc/proto-google-cloud-firestore-v1/target/site/apidocs/</location> | ||
</offlineLink> | ||
<offlineLink> | ||
<url>${project.javadoc.protobufBaseURL}</url> | ||
<location>../../../../../google-api-grpc/grpc-google-cloud-firestore-v1/target/site/apidocs/</location> | ||
</offlineLink> | ||
</offlineLinks> | ||
</configuration> | ||
</plugin> | ||
</plugins> | ||
</reporting> | ||
|
||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.codehaus.mojo</groupId> | ||
<artifactId>flatten-maven-plugin</artifactId> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
|
||
<profiles> | ||
<profile> | ||
<id>java9</id> | ||
<activation> | ||
<jdk>[9,)</jdk> | ||
</activation> | ||
<dependencies> | ||
<dependency> | ||
<groupId>javax.annotation</groupId> | ||
<artifactId>javax.annotation-api</artifactId> | ||
</dependency> | ||
</dependencies> | ||
</profile> | ||
</profiles> | ||
</project> |
File renamed without changes.
File renamed without changes.
41 changes: 41 additions & 0 deletions
41
google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/package-info.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
/* | ||
* Copyright 2020 Google LLC | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* https://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
/** | ||
* A client to Google Cloud Firestore Admin API. | ||
* | ||
* <p>The interfaces provided are listed below, along with usage samples. | ||
* | ||
* <p>==================== FirestoreAdminClient ==================== | ||
* | ||
* <p>Service Description: Operations are created by service `FirestoreAdmin`, but are accessed via | ||
* service `google.longrunning.Operations`. | ||
* | ||
* <p>Sample for FirestoreAdminClient: | ||
* | ||
* <pre> | ||
* <code> | ||
* try (FirestoreAdminClient firestoreAdminClient = FirestoreAdminClient.create()) { | ||
* IndexName name = IndexName.of("[PROJECT]", "[DATABASE]", "[COLLECTION]", "[INDEX]"); | ||
* firestoreAdminClient.deleteIndex(name); | ||
* } | ||
* </code> | ||
* </pre> | ||
*/ | ||
@Generated("by gapic-generator") | ||
package com.google.cloud.firestore.v1; | ||
|
||
import javax.annotation.Generated; |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.