Skip to content
This repository was archived by the owner on Sep 16, 2023. It is now read-only.

Commit f14bd11

Browse files
feat(v1): add condition to Feed (#226)
This PR was generated using Autosynth. 🌈 Synth log will be available here: https://source.cloud.google.com/results/invocations/812a23d1-b47c-4131-b5f8-4e10c7fb29fc/targets - [ ] To automatically regenerate this PR, check this box. PiperOrigin-RevId: 316789767 Source-Link: googleapis/googleapis@3dcb344
1 parent 3abb54f commit f14bd11

29 files changed

+2453
-656
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file
1717
<dependency>
1818
<groupId>com.google.cloud</groupId>
1919
<artifactId>libraries-bom</artifactId>
20-
<version>5.7.0</version>
20+
<version>6.0.0</version>
2121
<type>pom</type>
2222
<scope>import</scope>
2323
</dependency>

google-cloud-asset/src/main/java/com/google/cloud/asset/v1/AssetServiceClient.java

+32-20
Original file line numberDiff line numberDiff line change
@@ -264,10 +264,14 @@ public final UnaryCallable<DeleteFeedRequest, Empty> deleteFeedCallable() {
264264

265265
// AUTO-GENERATED DOCUMENTATION AND METHOD
266266
/**
267-
* Exports assets with time and resource types to a given Cloud Storage location. The output
268-
* format is newline-delimited JSON. This API implements the
269-
* [google.longrunning.Operation][google.longrunning.Operation] API allowing you to keep track of
270-
* the export.
267+
* Exports assets with time and resource types to a given Cloud Storage location/BigQuery table.
268+
* For Cloud Storage location destinations, the output format is newline-delimited JSON. Each line
269+
* represents a [google.cloud.asset.v1.Asset][google.cloud.asset.v1.Asset] in the JSON format; for
270+
* BigQuery table destinations, the output table stores the fields in asset proto as columns. This
271+
* API implements the [google.longrunning.Operation][google.longrunning.Operation] API , which
272+
* allows you to keep track of the export. We recommend intervals of at least 2 seconds with
273+
* exponential retry to poll the export operation result. For regular-size resource parent, the
274+
* export operation usually finishes within 5 minutes.
271275
*
272276
* <p>Sample code:
273277
*
@@ -295,10 +299,14 @@ public final OperationFuture<ExportAssetsResponse, ExportAssetsRequest> exportAs
295299

296300
// AUTO-GENERATED DOCUMENTATION AND METHOD
297301
/**
298-
* Exports assets with time and resource types to a given Cloud Storage location. The output
299-
* format is newline-delimited JSON. This API implements the
300-
* [google.longrunning.Operation][google.longrunning.Operation] API allowing you to keep track of
301-
* the export.
302+
* Exports assets with time and resource types to a given Cloud Storage location/BigQuery table.
303+
* For Cloud Storage location destinations, the output format is newline-delimited JSON. Each line
304+
* represents a [google.cloud.asset.v1.Asset][google.cloud.asset.v1.Asset] in the JSON format; for
305+
* BigQuery table destinations, the output table stores the fields in asset proto as columns. This
306+
* API implements the [google.longrunning.Operation][google.longrunning.Operation] API , which
307+
* allows you to keep track of the export. We recommend intervals of at least 2 seconds with
308+
* exponential retry to poll the export operation result. For regular-size resource parent, the
309+
* export operation usually finishes within 5 minutes.
302310
*
303311
* <p>Sample code:
304312
*
@@ -324,10 +332,14 @@ public final OperationFuture<ExportAssetsResponse, ExportAssetsRequest> exportAs
324332

325333
// AUTO-GENERATED DOCUMENTATION AND METHOD
326334
/**
327-
* Exports assets with time and resource types to a given Cloud Storage location. The output
328-
* format is newline-delimited JSON. This API implements the
329-
* [google.longrunning.Operation][google.longrunning.Operation] API allowing you to keep track of
330-
* the export.
335+
* Exports assets with time and resource types to a given Cloud Storage location/BigQuery table.
336+
* For Cloud Storage location destinations, the output format is newline-delimited JSON. Each line
337+
* represents a [google.cloud.asset.v1.Asset][google.cloud.asset.v1.Asset] in the JSON format; for
338+
* BigQuery table destinations, the output table stores the fields in asset proto as columns. This
339+
* API implements the [google.longrunning.Operation][google.longrunning.Operation] API , which
340+
* allows you to keep track of the export. We recommend intervals of at least 2 seconds with
341+
* exponential retry to poll the export operation result. For regular-size resource parent, the
342+
* export operation usually finishes within 5 minutes.
331343
*
332344
* <p>Sample code:
333345
*
@@ -351,11 +363,11 @@ public final UnaryCallable<ExportAssetsRequest, Operation> exportAssetsCallable(
351363

352364
// AUTO-GENERATED DOCUMENTATION AND METHOD
353365
/**
354-
* Batch gets the update history of assets that overlap a time window. For RESOURCE content, this
355-
* API outputs history with asset in both non-delete or deleted status. For IAM_POLICY content,
366+
* Batch gets the update history of assets that overlap a time window. For IAM_POLICY content,
356367
* this API outputs history when the asset and its attached IAM POLICY both exist. This can create
357-
* gaps in the output history. If a specified asset does not exist, this API returns an
358-
* INVALID_ARGUMENT error.
368+
* gaps in the output history. Otherwise, this API outputs history with asset in both non-delete
369+
* or deleted status. If a specified asset does not exist, this API returns an INVALID_ARGUMENT
370+
* error.
359371
*
360372
* <p>Sample code:
361373
*
@@ -379,11 +391,11 @@ public final BatchGetAssetsHistoryResponse batchGetAssetsHistory(
379391

380392
// AUTO-GENERATED DOCUMENTATION AND METHOD
381393
/**
382-
* Batch gets the update history of assets that overlap a time window. For RESOURCE content, this
383-
* API outputs history with asset in both non-delete or deleted status. For IAM_POLICY content,
394+
* Batch gets the update history of assets that overlap a time window. For IAM_POLICY content,
384395
* this API outputs history when the asset and its attached IAM POLICY both exist. This can create
385-
* gaps in the output history. If a specified asset does not exist, this API returns an
386-
* INVALID_ARGUMENT error.
396+
* gaps in the output history. Otherwise, this API outputs history with asset in both non-delete
397+
* or deleted status. If a specified asset does not exist, this API returns an INVALID_ARGUMENT
398+
* error.
387399
*
388400
* <p>Sample code:
389401
*

grpc-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetServiceGrpc.java

+48-24
Original file line numberDiff line numberDiff line change
@@ -481,10 +481,16 @@ public abstract static class AssetServiceImplBase implements io.grpc.BindableSer
481481
*
482482
* <pre>
483483
* Exports assets with time and resource types to a given Cloud Storage
484-
* location. The output format is newline-delimited JSON.
485-
* This API implements the
486-
* [google.longrunning.Operation][google.longrunning.Operation] API allowing
487-
* you to keep track of the export.
484+
* location/BigQuery table. For Cloud Storage location destinations, the
485+
* output format is newline-delimited JSON. Each line represents a
486+
* [google.cloud.asset.v1.Asset][google.cloud.asset.v1.Asset] in the JSON
487+
* format; for BigQuery table destinations, the output table stores the fields
488+
* in asset proto as columns. This API implements the
489+
* [google.longrunning.Operation][google.longrunning.Operation] API , which
490+
* allows you to keep track of the export. We recommend intervals of at least
491+
* 2 seconds with exponential retry to poll the export operation result. For
492+
* regular-size resource parent, the export operation usually finishes within
493+
* 5 minutes.
488494
* </pre>
489495
*/
490496
public void exportAssets(
@@ -498,10 +504,10 @@ public void exportAssets(
498504
*
499505
* <pre>
500506
* Batch gets the update history of assets that overlap a time window.
501-
* For RESOURCE content, this API outputs history with asset in both
502-
* non-delete or deleted status.
503507
* For IAM_POLICY content, this API outputs history when the asset and its
504508
* attached IAM POLICY both exist. This can create gaps in the output history.
509+
* Otherwise, this API outputs history with asset in both non-delete or
510+
* deleted status.
505511
* If a specified asset does not exist, this API returns an INVALID_ARGUMENT
506512
* error.
507513
* </pre>
@@ -700,10 +706,16 @@ protected AssetServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions ca
700706
*
701707
* <pre>
702708
* Exports assets with time and resource types to a given Cloud Storage
703-
* location. The output format is newline-delimited JSON.
704-
* This API implements the
705-
* [google.longrunning.Operation][google.longrunning.Operation] API allowing
706-
* you to keep track of the export.
709+
* location/BigQuery table. For Cloud Storage location destinations, the
710+
* output format is newline-delimited JSON. Each line represents a
711+
* [google.cloud.asset.v1.Asset][google.cloud.asset.v1.Asset] in the JSON
712+
* format; for BigQuery table destinations, the output table stores the fields
713+
* in asset proto as columns. This API implements the
714+
* [google.longrunning.Operation][google.longrunning.Operation] API , which
715+
* allows you to keep track of the export. We recommend intervals of at least
716+
* 2 seconds with exponential retry to poll the export operation result. For
717+
* regular-size resource parent, the export operation usually finishes within
718+
* 5 minutes.
707719
* </pre>
708720
*/
709721
public void exportAssets(
@@ -720,10 +732,10 @@ public void exportAssets(
720732
*
721733
* <pre>
722734
* Batch gets the update history of assets that overlap a time window.
723-
* For RESOURCE content, this API outputs history with asset in both
724-
* non-delete or deleted status.
725735
* For IAM_POLICY content, this API outputs history when the asset and its
726736
* attached IAM POLICY both exist. This can create gaps in the output history.
737+
* Otherwise, this API outputs history with asset in both non-delete or
738+
* deleted status.
727739
* If a specified asset does not exist, this API returns an INVALID_ARGUMENT
728740
* error.
729741
* </pre>
@@ -874,10 +886,16 @@ protected AssetServiceBlockingStub build(
874886
*
875887
* <pre>
876888
* Exports assets with time and resource types to a given Cloud Storage
877-
* location. The output format is newline-delimited JSON.
878-
* This API implements the
879-
* [google.longrunning.Operation][google.longrunning.Operation] API allowing
880-
* you to keep track of the export.
889+
* location/BigQuery table. For Cloud Storage location destinations, the
890+
* output format is newline-delimited JSON. Each line represents a
891+
* [google.cloud.asset.v1.Asset][google.cloud.asset.v1.Asset] in the JSON
892+
* format; for BigQuery table destinations, the output table stores the fields
893+
* in asset proto as columns. This API implements the
894+
* [google.longrunning.Operation][google.longrunning.Operation] API , which
895+
* allows you to keep track of the export. We recommend intervals of at least
896+
* 2 seconds with exponential retry to poll the export operation result. For
897+
* regular-size resource parent, the export operation usually finishes within
898+
* 5 minutes.
881899
* </pre>
882900
*/
883901
public com.google.longrunning.Operation exportAssets(
@@ -890,10 +908,10 @@ public com.google.longrunning.Operation exportAssets(
890908
*
891909
* <pre>
892910
* Batch gets the update history of assets that overlap a time window.
893-
* For RESOURCE content, this API outputs history with asset in both
894-
* non-delete or deleted status.
895911
* For IAM_POLICY content, this API outputs history when the asset and its
896912
* attached IAM POLICY both exist. This can create gaps in the output history.
913+
* Otherwise, this API outputs history with asset in both non-delete or
914+
* deleted status.
897915
* If a specified asset does not exist, this API returns an INVALID_ARGUMENT
898916
* error.
899917
* </pre>
@@ -1022,10 +1040,16 @@ protected AssetServiceFutureStub build(
10221040
*
10231041
* <pre>
10241042
* Exports assets with time and resource types to a given Cloud Storage
1025-
* location. The output format is newline-delimited JSON.
1026-
* This API implements the
1027-
* [google.longrunning.Operation][google.longrunning.Operation] API allowing
1028-
* you to keep track of the export.
1043+
* location/BigQuery table. For Cloud Storage location destinations, the
1044+
* output format is newline-delimited JSON. Each line represents a
1045+
* [google.cloud.asset.v1.Asset][google.cloud.asset.v1.Asset] in the JSON
1046+
* format; for BigQuery table destinations, the output table stores the fields
1047+
* in asset proto as columns. This API implements the
1048+
* [google.longrunning.Operation][google.longrunning.Operation] API , which
1049+
* allows you to keep track of the export. We recommend intervals of at least
1050+
* 2 seconds with exponential retry to poll the export operation result. For
1051+
* regular-size resource parent, the export operation usually finishes within
1052+
* 5 minutes.
10291053
* </pre>
10301054
*/
10311055
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation>
@@ -1039,10 +1063,10 @@ protected AssetServiceFutureStub build(
10391063
*
10401064
* <pre>
10411065
* Batch gets the update history of assets that overlap a time window.
1042-
* For RESOURCE content, this API outputs history with asset in both
1043-
* non-delete or deleted status.
10441066
* For IAM_POLICY content, this API outputs history when the asset and its
10451067
* attached IAM POLICY both exist. This can create gaps in the output history.
1068+
* Otherwise, this API outputs history with asset in both non-delete or
1069+
* deleted status.
10461070
* If a specified asset does not exist, this API returns an INVALID_ARGUMENT
10471071
* error.
10481072
* </pre>

0 commit comments

Comments
 (0)