Skip to content

Commit 13162eb

Browse files
authored
---
yaml --- r: 8671 b: refs/heads/master c: fd42e93 h: refs/heads/master i: 8669: 3e78a47 8667: 7125b09 8663: e8ff75f 8655: 45edf0c 8639: 07dd16e
1 parent a5d8b6a commit 13162eb

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
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 2640ad94120334b00f4d0a7817560bf9c40e00a1
2+
refs/heads/master: fd42e93c80b7f1f17e93cb90f2f3611334826873
33
refs/heads/travis: 47e4fee4fd5af9b2a8ce46f23c72ec95f9b195b2
44
refs/heads/gh-pages: 6daca92127d91b7c2c99490080ecf8a13fa94cde
55
refs/tags/0.0.9: 22f1839238f66c39e67ed4dfdcd273b1ae2e8444

trunk/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

trunk/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.

trunk/google-cloud-compute/src/main/java/com/google/cloud/compute/Address.java renamed to trunk/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;

trunk/google-cloud-compute/src/main/java/com/google/cloud/compute/AddressId.java renamed to trunk/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

trunk/google-cloud-compute/src/main/java/com/google/cloud/compute/AddressInfo.java renamed to trunk/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

trunk/google-cloud-compute/src/main/java/com/google/cloud/compute/AttachedDisk.java renamed to trunk/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

trunk/google-cloud-compute/src/main/java/com/google/cloud/compute/Compute.java renamed to trunk/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

trunk/google-cloud-compute/src/main/java/com/google/cloud/compute/ComputeException.java renamed to trunk/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;

trunk/google-cloud-compute/src/main/java/com/google/cloud/compute/ComputeFactory.java renamed to trunk/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)