Skip to content

Commit

Permalink
[CloudAsset] Update client library version to use endpoint v1. (#1364)
Browse files Browse the repository at this point in the history
* [CloudAsset] Update client library version to use endpoit v1.

* Fix test code dependency: update cloud-storage lib version.
  • Loading branch information
peter-zheng-g authored and dzlier-gcp committed Apr 3, 2019
1 parent ac1faf4 commit 4640550
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions asset/cloud-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-asset</artifactId>
<version>0.63.0-beta</version>
<version>0.86.0-beta</version>
</dependency>
<!-- [END asset_java_dependencies] -->

Expand All @@ -56,7 +56,7 @@
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-storage</artifactId>
<version>1.38.0</version>
<version>1.68.0</version>
<scope>test</scope>
</dependency>
</dependencies>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@
// Imports the Google Cloud client library

import com.google.cloud.ServiceOptions;
import com.google.cloud.asset.v1beta1.AssetServiceClient;
import com.google.cloud.asset.v1beta1.BatchGetAssetsHistoryRequest;
import com.google.cloud.asset.v1beta1.BatchGetAssetsHistoryResponse;
import com.google.cloud.asset.v1beta1.ContentType;
import com.google.cloud.asset.v1beta1.ProjectName;
import com.google.cloud.asset.v1beta1.TimeWindow;
import com.google.cloud.asset.v1.AssetServiceClient;
import com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest;
import com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse;
import com.google.cloud.asset.v1.ContentType;
import com.google.cloud.asset.v1.ProjectName;
import com.google.cloud.asset.v1.TimeWindow;
import java.util.Arrays;

public class BatchGetAssetsHistoryExample {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@
// Imports the Google Cloud client library

import com.google.cloud.ServiceOptions;
import com.google.cloud.asset.v1beta1.AssetServiceClient;
import com.google.cloud.asset.v1beta1.ExportAssetsRequest;
import com.google.cloud.asset.v1beta1.ExportAssetsResponse;
import com.google.cloud.asset.v1beta1.GcsDestination;
import com.google.cloud.asset.v1beta1.OutputConfig;
import com.google.cloud.asset.v1beta1.ProjectName;
import com.google.cloud.asset.v1.AssetServiceClient;
import com.google.cloud.asset.v1.ExportAssetsRequest;
import com.google.cloud.asset.v1.ExportAssetsResponse;
import com.google.cloud.asset.v1.GcsDestination;
import com.google.cloud.asset.v1.OutputConfig;
import com.google.cloud.asset.v1.ProjectName;

public class ExportAssetsExample {

Expand Down

0 comments on commit 4640550

Please sign in to comment.