Skip to content
This repository was archived by the owner on Jul 15, 2024. It is now read-only.
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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 3 additions & 0 deletions .github/.OwlBot.lock.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
docker:
digest: sha256:4e961d006ec9e44501273788f3cbe1e060c4666742ba190f60d6a05bcdf3ac8f
image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest
30 changes: 30 additions & 0 deletions .github/.OwlBot.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Copyright 2021 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
#
# http://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.

docker:
image: "gcr.io/cloud-devrel-public-resources/owlbot-java:latest"

deep-remove-regex:
- "/proto-google-.*/src"
- "/google-.*/src"

deep-preserve-regex:
- "/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java"
- "/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/integration"

deep-copy-regex:
- source: "/google/cloud/compute/(v\\d)/.*-java/proto-google-.*/src"
dest: "/owl-bot-staging/$1/proto-google-cloud-compute-$1/src"
- source: "/google/cloud/compute/(v\\d)/.*-java/gapic-google-.*/src"
dest: "/owl-bot-staging/$1/google-cloud-compute/src"
4 changes: 3 additions & 1 deletion .repo-metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,7 @@
"api_id": "compute.googleapis.com",
"requires_billing": true,
"codeowner_team": "@googleapis/actools-java",
"library_type": "GAPIC_AUTO"
"library_type": "GAPIC_AUTO",
"excluded_dependencies": "grpc-google-cloud-compute-v1",
"excluded_poms": "grpc-google-cloud-compute-v1"
}
11 changes: 5 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,21 +22,21 @@ If you are using Maven, add this to your pom.xml file:
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-compute</artifactId>
<version>1.4.1-alpha</version>
<version>1.5.0-alpha</version>
</dependency>

```

If you are using Gradle without BOM, add this to your dependencies

```Groovy
implementation 'com.google.cloud:google-cloud-compute:1.4.1-alpha'
implementation 'com.google.cloud:google-cloud-compute:1.5.0-alpha'
```

If you are using SBT, add this to your dependencies

```Scala
libraryDependencies += "com.google.cloud" % "google-cloud-compute" % "1.4.1-alpha"
libraryDependencies += "com.google.cloud" % "google-cloud-compute" % "1.5.0-alpha"
```

## Authentication
Expand Down Expand Up @@ -138,7 +138,7 @@ Compute Engine uses HTTP/JSON for the transport layer.

## Supported Java Versions

Java 7 or above is required for using this client.
Java 8 or above is required for using this client.

Google's Java client libraries,
[Google Cloud Client Libraries][cloudlibs]
Expand Down Expand Up @@ -210,7 +210,6 @@ Apache 2.0 - See [LICENSE][license] for more information.

Java Version | Status
------------ | ------
Java 7 | [![Kokoro CI][kokoro-badge-image-1]][kokoro-badge-link-1]
Java 8 | [![Kokoro CI][kokoro-badge-image-2]][kokoro-badge-link-2]
Java 8 OSX | [![Kokoro CI][kokoro-badge-image-3]][kokoro-badge-link-3]
Java 8 Windows | [![Kokoro CI][kokoro-badge-image-4]][kokoro-badge-link-4]
Expand All @@ -219,7 +218,7 @@ Java 11 | [![Kokoro CI][kokoro-badge-image-5]][kokoro-badge-link-5]
Java is a registered trademark of Oracle and/or its affiliates.

[product-docs]: https://cloud.google.com/compute/
[javadocs]: https://googleapis.dev/java/google-cloud-compute/latest/index.html
[javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-compute/latest/history
[kokoro-badge-image-1]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-compute/java7.svg
[kokoro-badge-link-1]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-compute/java7.html
[kokoro-badge-image-2]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-compute/java8.svg
Expand Down
5 changes: 2 additions & 3 deletions google-cloud-compute-bom/pom.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0"?>
<?xml version='1.0' encoding='UTF-8'?>
<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>
<groupId>com.google.cloud</groupId>
Expand Down Expand Up @@ -49,7 +49,6 @@

<dependencyManagement>
<dependencies>

<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-compute</artifactId>
Expand All @@ -74,4 +73,4 @@
</plugin>
</plugins>
</build>
</project>
</project>
136 changes: 136 additions & 0 deletions google-cloud-compute/clirr-ignored-differences.xml
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,140 @@
<className>com/google/cloud/compute/**</className>
<field>*MethodDescriptor</field>
</difference>
<!-- Removes method -->
<difference>
<differenceType>7002</differenceType>
<className>com/google/cloud/compute/v1/**</className>
<method>* delete*(*)</method>
</difference>
<difference>
<differenceType>7002</differenceType>
<className>com/google/cloud/compute/v1/**</className>
<method>* insert*(*)</method>
</difference>
<difference>
<differenceType>7002</differenceType>
<className>com/google/cloud/compute/v1/**</className>
<method>* patch*(*)</method>
</difference>
<difference>
<differenceType>7002</differenceType>
<className>com/google/cloud/compute/v1/**</className>
<method>* update*(*)</method>
</difference>
<difference>
<differenceType>7002</differenceType>
<className>com/google/cloud/compute/v1/**</className>
<method>* set*(*)</method>
</difference>
<difference>
<differenceType>7002</differenceType>
<className>com/google/cloud/compute/v1/**</className>
<method>* remove*(*)</method>
</difference>
<difference>
<differenceType>7002</differenceType>
<className>com/google/cloud/compute/v1/**</className>
<method>* add*(*)</method>
</difference>
<difference>
<differenceType>7002</differenceType>
<className>com/google/cloud/compute/v1/**</className>
<method>* expand*(*)</method>
</difference>
<difference>
<differenceType>7002</differenceType>
<className>com/google/cloud/compute/v1/**</className>
<method>* invalidate*(*)</method>
</difference>
<difference>
<differenceType>7002</differenceType>
<className>com/google/cloud/compute/v1/**</className>
<method>* resize(*)</method>
</difference>
<difference>
<differenceType>7002</differenceType>
<className>com/google/cloud/compute/v1/**</className>
<method>* bulk*(*)</method>
</difference>
<difference>
<differenceType>7002</differenceType>
<className>com/google/cloud/compute/v1/**</className>
<method>* create*(*)</method>
</difference>
<difference>
<differenceType>7002</differenceType>
<className>com/google/cloud/compute/v1/**</className>
<method>* apply*(*)</method>
</difference>
<difference>
<differenceType>7002</differenceType>
<className>com/google/cloud/compute/v1/**</className>
<method>* abandon*(*)</method>
</difference>
<difference>
<differenceType>7002</differenceType>
<className>com/google/cloud/compute/v1/**</className>
<method>* recreate*(*)</method>
</difference>
<difference>
<differenceType>7002</differenceType>
<className>com/google/cloud/compute/v1/**</className>
<method>* enable*(*)</method>
</difference>
<difference>
<differenceType>7002</differenceType>
<className>com/google/cloud/compute/v1/**</className>
<method>* disable*(*)</method>
</difference>
<difference>
<differenceType>7002</differenceType>
<className>com/google/cloud/compute/v1/**</className>
<method>* move*(*)</method>
</difference>
<difference>
<differenceType>7002</differenceType>
<className>com/google/cloud/compute/v1/**</className>
<method>* switch*(*)</method>
</difference>
<difference>
<differenceType>7002</differenceType>
<className>com/google/cloud/compute/v1/**</className>
<method>* attach*(*)</method>
</difference>
<difference>
<differenceType>7002</differenceType>
<className>com/google/cloud/compute/v1/**</className>
<method>* start*(*)</method>
</difference>
<difference>
<differenceType>7002</differenceType>
<className>com/google/cloud/compute/v1/**</className>
<method>* simulate*(*)</method>
</difference>
<difference>
<differenceType>7002</differenceType>
<className>com/google/cloud/compute/v1/**</className>
<method>* detach*(*)</method>
</difference>
<difference>
<differenceType>7002</differenceType>
<className>com/google/cloud/compute/v1/**</className>
<method>* clone*(*)</method>
</difference>
<difference>
<differenceType>7002</differenceType>
<className>com/google/cloud/compute/v1/**</className>
<method>* deprecate*(*)</method>
</difference>
<difference>
<differenceType>7002</differenceType>
<className>com/google/cloud/compute/v1/**</className>
<method>* reset*(*)</method>
</difference>
<difference>
<differenceType>7002</differenceType>
<className>com/google/cloud/compute/v1/**</className>
<method>* stop*(*)</method>
</difference>
</differences>
14 changes: 10 additions & 4 deletions google-cloud-compute/pom.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?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">
<?xml version='1.0' encoding='UTF-8'?>
<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>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-compute</artifactId>
Expand Down Expand Up @@ -49,6 +47,14 @@
<groupId>com.google.http-client</groupId>
<artifactId>google-http-client</artifactId>
</dependency>
<dependency>
<groupId>com.google.api.grpc</groupId>
<artifactId>proto-google-common-protos</artifactId>
</dependency>
<dependency>
<groupId>com.google.protobuf</groupId>
<artifactId>protobuf-java</artifactId>
</dependency>

<!-- Test dependencies -->
<dependency>
Expand Down
Loading