@Generated(value="by gapic-generator")
See: Description
Class | Description |
---|---|
AssetServiceClient |
Service Description: Asset service definition.
|
AssetServiceSettings |
Settings class to configure an instance of
AssetServiceClient . |
AssetServiceSettings.Builder |
Builder for AssetServiceSettings.
|
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);
}
Copyright © 2019 Google LLC. All rights reserved.