Skip to content

Commit 3ee3e7f

Browse files
authored
---
yaml --- r: 8957 b: refs/heads/lesv-patch-1 c: fd42e93 h: refs/heads/master i: 8955: 7b527b6
1 parent 1015e54 commit 3ee3e7f

134 files changed

Lines changed: 359 additions & 352 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ refs/tags/v0.22.0: 18b298fe4bfe8ec2f20b0e0bf7ffdcce5cc3c5fe
6666
refs/heads/vam-google-patch-1: d0c8fee3a4074d0bf7360ce8c4f7f7223d0ee7b9
6767
refs/heads/vam-google-patch-CODEOWNERS: 2ac1616e25229e51d08a984708ef1918f91a35ee
6868
refs/heads/danoscarmike-patch-1: 7342a9916bce4ed00002c7202e2a16c5d46afaea
69-
refs/heads/lesv-patch-1: 2640ad94120334b00f4d0a7817560bf9c40e00a1
69+
refs/heads/lesv-patch-1: fd42e93c80b7f1f17e93cb90f2f3611334826873
7070
refs/heads/ml-update-branch: 079dd6610017f5c51b9d1938c12d6d55b61513cf
7171
refs/heads/vkedia-patch-2: 7d8241388a9769a5c069334761b06c7012c878e7
7272
refs/heads/vkedia-patch-3: 4d128043acaa7db9160faf439d2ca6104e8a88cb

branches/lesv-patch-1/README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,17 @@ This library supports the following Google Cloud Platform services with clients
3434

3535
This library supports the following Google Cloud Platform services with clients at an [Alpha](#versioning) quality level:
3636

37-
- [Cloud Compute](google-cloud-compute) (Alpha)
3837
- [Cloud Dataproc](google-cloud-dataproc) (Alpha)
3938
- [Cloud DNS](google-cloud-dns) (Alpha)
4039
- [Cloud OS Login](google-cloud-os-login) (Alpha)
4140
- [Cloud Resource Manager](google-cloud-resourcemanager) (Alpha)
4241
- [Cloud Speech](google-cloud-speech) (Alpha)
4342
- [Dialogflow](google-cloud-dialogflow) (Alpha)
4443

44+
These libraries are deprecated and no longer receive updates:
45+
46+
- [Cloud Compute](google-cloud-compute) (Deprecated)
47+
4548
Quickstart
4649
----------
4750

branches/lesv-patch-1/google-cloud-compute/README.md

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,8 @@ These credentials are automatically inferred from your environment, so you only
8686
code to create your service object:
8787

8888
```java
89-
import com.google.cloud.compute.Compute;
90-
import com.google.cloud.compute.ComputeOptions;
89+
import com.google.cloud.compute.deprecated.Compute;
90+
import com.google.cloud.compute.deprecated.ComputeOptions;
9191

9292
Compute compute = ComputeOptions.getDefaultInstance().getService();
9393
```
@@ -103,9 +103,9 @@ Engine. In this code snippet, we will create a new external region address.
103103
Add the following imports at the top of your file:
104104

105105
```java
106-
import com.google.cloud.compute.AddressInfo;
107-
import com.google.cloud.compute.Operation;
108-
import com.google.cloud.compute.RegionAddressId;
106+
import com.google.cloud.compute.deprecated.AddressInfo;
107+
import com.google.cloud.compute.deprecated.Operation;
108+
import com.google.cloud.compute.deprecated.RegionAddressId;
109109
```
110110

111111
Then add the following code to create an address. Most Compute Engine calls return an `Operation`
@@ -135,10 +135,10 @@ a publicly-available image.
135135
Add the following imports at the top of your file:
136136

137137
```java
138-
import com.google.cloud.compute.DiskInfo;
139-
import com.google.cloud.compute.DiskId;
140-
import com.google.cloud.compute.ImageDiskConfiguration;
141-
import com.google.cloud.compute.ImageId;
138+
import com.google.cloud.compute.deprecated.DiskInfo;
139+
import com.google.cloud.compute.deprecated.DiskId;
140+
import com.google.cloud.compute.deprecated.ImageDiskConfiguration;
141+
import com.google.cloud.compute.deprecated.ImageId;
142142
```
143143

144144
Then add the following code to create a disk and wait for disk creation to terminate.
@@ -168,15 +168,15 @@ boot disk the disk we have just created and assigning to it the just created IP
168168
Add the following imports at the top of your file:
169169

170170
```java
171-
import com.google.cloud.compute.AttachedDisk;
172-
import com.google.cloud.compute.AttachedDisk.PersistentDiskConfiguration;
173-
import com.google.cloud.compute.InstanceId;
174-
import com.google.cloud.compute.InstanceInfo;
175-
import com.google.cloud.compute.MachineTypeId;
176-
import com.google.cloud.compute.NetworkConfiguration;
177-
import com.google.cloud.compute.NetworkConfiguration.AccessConfig;
178-
import com.google.cloud.compute.NetworkId;
179-
import com.google.cloud.compute.NetworkInterface;
171+
import com.google.cloud.compute.deprecated.AttachedDisk;
172+
import com.google.cloud.compute.deprecated.AttachedDisk.PersistentDiskConfiguration;
173+
import com.google.cloud.compute.deprecated.InstanceId;
174+
import com.google.cloud.compute.deprecated.InstanceInfo;
175+
import com.google.cloud.compute.deprecated.MachineTypeId;
176+
import com.google.cloud.compute.deprecated.NetworkConfiguration;
177+
import com.google.cloud.compute.deprecated.NetworkConfiguration.AccessConfig;
178+
import com.google.cloud.compute.deprecated.NetworkId;
179+
import com.google.cloud.compute.deprecated.NetworkInterface;
180180
```
181181

182182
Then add the following code to create an instance and wait for instance creation to terminate.

branches/lesv-patch-1/google-cloud-compute/src/main/java/com/google/cloud/compute/Address.java renamed to branches/lesv-patch-1/google-cloud-compute/src/main/java/com/google/cloud/compute/deprecated/Address.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@
1414
* limitations under the License.
1515
*/
1616

17-
package com.google.cloud.compute;
17+
package com.google.cloud.compute.deprecated;
1818

1919
import static com.google.common.base.Preconditions.checkNotNull;
2020

21-
import com.google.cloud.compute.Compute.AddressOption;
22-
import com.google.cloud.compute.Compute.OperationOption;
21+
import com.google.cloud.compute.deprecated.Compute.AddressOption;
22+
import com.google.cloud.compute.deprecated.Compute.OperationOption;
2323

2424
import java.io.IOException;
2525
import java.io.ObjectInputStream;

branches/lesv-patch-1/google-cloud-compute/src/main/java/com/google/cloud/compute/AddressId.java renamed to branches/lesv-patch-1/google-cloud-compute/src/main/java/com/google/cloud/compute/deprecated/AddressId.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
package com.google.cloud.compute;
17+
package com.google.cloud.compute.deprecated;
1818

1919
import static com.google.common.base.Preconditions.checkNotNull;
2020

branches/lesv-patch-1/google-cloud-compute/src/main/java/com/google/cloud/compute/AddressInfo.java renamed to branches/lesv-patch-1/google-cloud-compute/src/main/java/com/google/cloud/compute/deprecated/AddressInfo.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
package com.google.cloud.compute;
17+
package com.google.cloud.compute.deprecated;
1818

1919
import static com.google.common.base.Preconditions.checkNotNull;
2020

branches/lesv-patch-1/google-cloud-compute/src/main/java/com/google/cloud/compute/AttachedDisk.java renamed to branches/lesv-patch-1/google-cloud-compute/src/main/java/com/google/cloud/compute/deprecated/AttachedDisk.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
package com.google.cloud.compute;
17+
package com.google.cloud.compute.deprecated;
1818

1919
import static com.google.common.base.Preconditions.checkNotNull;
2020

branches/lesv-patch-1/google-cloud-compute/src/main/java/com/google/cloud/compute/Compute.java renamed to branches/lesv-patch-1/google-cloud-compute/src/main/java/com/google/cloud/compute/deprecated/Compute.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,17 @@
1414
* limitations under the License.
1515
*/
1616

17-
package com.google.cloud.compute;
17+
package com.google.cloud.compute.deprecated;
1818

1919
import static com.google.common.base.Preconditions.checkNotNull;
2020

2121
import com.google.cloud.FieldSelector;
2222
import com.google.cloud.FieldSelector.Helper;
2323
import com.google.api.gax.paging.Page;
2424
import com.google.cloud.Service;
25-
import com.google.cloud.compute.AttachedDisk.PersistentDiskConfiguration;
26-
import com.google.cloud.compute.NetworkInterface.AccessConfig;
27-
import com.google.cloud.compute.spi.v1.ComputeRpc;
25+
import com.google.cloud.compute.deprecated.AttachedDisk.PersistentDiskConfiguration;
26+
import com.google.cloud.compute.deprecated.NetworkInterface.AccessConfig;
27+
import com.google.cloud.compute.deprecated.spi.v1.ComputeRpc;
2828
import com.google.common.base.MoreObjects;
2929
import com.google.common.collect.ImmutableList;
3030

branches/lesv-patch-1/google-cloud-compute/src/main/java/com/google/cloud/compute/ComputeException.java renamed to branches/lesv-patch-1/google-cloud-compute/src/main/java/com/google/cloud/compute/deprecated/ComputeException.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
package com.google.cloud.compute;
17+
package com.google.cloud.compute.deprecated;
1818

1919
import com.google.cloud.BaseServiceException;
2020
import com.google.cloud.RetryHelper.RetryHelperException;

branches/lesv-patch-1/google-cloud-compute/src/main/java/com/google/cloud/compute/ComputeFactory.java renamed to branches/lesv-patch-1/google-cloud-compute/src/main/java/com/google/cloud/compute/deprecated/ComputeFactory.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
package com.google.cloud.compute;
17+
package com.google.cloud.compute.deprecated;
1818

1919
import com.google.cloud.ServiceFactory;
2020

0 commit comments

Comments
 (0)