Skip navigation links

@Generated(value="by gapic-generator")

Package com.google.cloud.asset.v1

A client to Cloud Asset API.

See: Description

Package com.google.cloud.asset.v1 Description

A client to Cloud Asset API.

The interfaces provided are listed below, along with usage samples.

================== AssetServiceClient ==================

Service Description: Asset service definition.

Sample for AssetServiceClient:

 
 try (AssetServiceClient assetServiceClient = AssetServiceClient.create()) {
   ProjectName parent = ProjectName.of("[PROJECT]");
   ContentType contentType = ContentType.CONTENT_TYPE_UNSPECIFIED;
   TimeWindow readTimeWindow = TimeWindow.newBuilder().build();
   BatchGetAssetsHistoryRequest request = BatchGetAssetsHistoryRequest.newBuilder()
     .setParent(parent.toString())
     .setContentType(contentType)
     .setReadTimeWindow(readTimeWindow)
     .build();
   BatchGetAssetsHistoryResponse response = assetServiceClient.batchGetAssetsHistory(request);
 }
 
 
Skip navigation links

Copyright © 2019 Google LLC. All rights reserved.