This repository was archived by the owner on Sep 16, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
google-cloud-asset/src/main/java/com/google/cloud/asset Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 27
27
* try (AssetServiceClient assetServiceClient = AssetServiceClient.create()) {
28
28
* BatchGetAssetsHistoryRequest request =
29
29
* BatchGetAssetsHistoryRequest.newBuilder()
30
- * .setParent(ProjectName.of ("[PROJECT]").toString())
30
+ * .setParent(FeedName.ofProjectFeedName ("[PROJECT]", "[FEED ]").toString())
31
31
* .addAllAssetNames(new ArrayList<String>())
32
32
* .setContentType(ContentType.forNumber(0))
33
33
* .setReadTimeWindow(TimeWindow.newBuilder().build())
Original file line number Diff line number Diff line change 27
27
* try (AssetServiceClient assetServiceClient = AssetServiceClient.create()) {
28
28
* ExportAssetsRequest request =
29
29
* ExportAssetsRequest.newBuilder()
30
- * .setParent(ProjectName .of("[PROJECT ]").toString())
30
+ * .setParent(BillingAccountName .of("[BILLING_ACCOUNT ]").toString())
31
31
* .setReadTime(Timestamp.newBuilder().build())
32
32
* .addAllAssetTypes(new ArrayList<String>())
33
33
* .setContentType(ContentType.forNumber(0))
You can’t perform that action at this time.
0 commit comments