Skip to content
Permalink
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
  • Loading branch information
yoshi-automation committed Jun 18, 2020
1 parent 3abb54f commit f14bd119c952bd38bf03fd25a98e8bc4641b84fe
Showing with 2,453 additions and 656 deletions.
  1. +1 −1 README.md
  2. +32 −20 google-cloud-asset/src/main/java/com/google/cloud/asset/v1/AssetServiceClient.java
  3. +48 −24 grpc-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetServiceGrpc.java
  4. +619 −45 proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/Asset.java
  5. +115 −10 proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetOrBuilder.java
  6. +60 −49 proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetProto.java
  7. +118 −114 proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetServiceProto.java
  8. +39 −78 ...o-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetAssetsHistoryRequest.java
  9. +12 −24 ...cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetAssetsHistoryRequestOrBuilder.java
  10. +2 −2 proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BigQueryDestination.java
  11. +25 −25 proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ExportAssetsRequest.java
  12. +7 −7 ...o-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ExportAssetsRequestOrBuilder.java
  13. +0 −12 proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ExportAssetsResponse.java
  14. +0 −3 ...-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ExportAssetsResponseOrBuilder.java
  15. +396 −52 proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/Feed.java
  16. +72 −16 proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/FeedOrBuilder.java
  17. +21 −21 proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GcsDestination.java
  18. +6 −6 proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GcsDestinationOrBuilder.java
  19. +12 −36 proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OutputConfig.java
  20. +3 −9 proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OutputConfigOrBuilder.java
  21. +7 −7 proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/PubsubDestination.java
  22. +2 −2 proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/PubsubDestinationOrBuilder.java
  23. +35 −35 proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/Resource.java
  24. +10 −10 proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ResourceOrBuilder.java
  25. +650 −1 proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TemporalAsset.java
  26. +63 −0 proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TemporalAssetOrBuilder.java
  27. +39 −27 proto-google-cloud-asset-v1/src/main/proto/google/cloud/asset/v1/asset_service.proto
  28. +48 −9 proto-google-cloud-asset-v1/src/main/proto/google/cloud/asset/v1/assets.proto
  29. +11 −11 synth.metadata
@@ -17,7 +17,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>libraries-bom</artifactId>
<version>5.7.0</version>
<version>6.0.0</version>
<type>pom</type>
<scope>import</scope>
</dependency>
@@ -264,10 +264,14 @@ public final UnaryCallable<DeleteFeedRequest, Empty> deleteFeedCallable() {

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

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

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

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

// AUTO-GENERATED DOCUMENTATION AND METHOD
/**
* Batch gets the update history of assets that overlap a time window. For RESOURCE content, this
* API outputs history with asset in both non-delete or deleted status. For IAM_POLICY content,
* Batch gets the update history of assets that overlap a time window. For IAM_POLICY content,
* this API outputs history when the asset and its attached IAM POLICY both exist. This can create
* gaps in the output history. If a specified asset does not exist, this API returns an
* INVALID_ARGUMENT error.
* gaps in the output history. Otherwise, this API outputs history with asset in both non-delete
* or deleted status. If a specified asset does not exist, this API returns an INVALID_ARGUMENT
* error.
*
* <p>Sample code:
*
@@ -481,10 +481,16 @@ public abstract static class AssetServiceImplBase implements io.grpc.BindableSer
*
* <pre>
* Exports assets with time and resource types to a given Cloud Storage
* location. The output format is newline-delimited JSON.
* This API implements the
* [google.longrunning.Operation][google.longrunning.Operation] API allowing
* you to keep track of the export.
* location/BigQuery table. For Cloud Storage location destinations, the
* output format is newline-delimited JSON. Each line represents a
* [google.cloud.asset.v1.Asset][google.cloud.asset.v1.Asset] in the JSON
* format; for BigQuery table destinations, the output table stores the fields
* in asset proto as columns. This API implements the
* [google.longrunning.Operation][google.longrunning.Operation] API , which
* allows you to keep track of the export. We recommend intervals of at least
* 2 seconds with exponential retry to poll the export operation result. For
* regular-size resource parent, the export operation usually finishes within
* 5 minutes.
* </pre>
*/
public void exportAssets(
@@ -498,10 +504,10 @@ public void exportAssets(
*
* <pre>
* Batch gets the update history of assets that overlap a time window.
* For RESOURCE content, this API outputs history with asset in both
* non-delete or deleted status.
* For IAM_POLICY content, this API outputs history when the asset and its
* attached IAM POLICY both exist. This can create gaps in the output history.
* Otherwise, this API outputs history with asset in both non-delete or
* deleted status.
* If a specified asset does not exist, this API returns an INVALID_ARGUMENT
* error.
* </pre>
@@ -700,10 +706,16 @@ protected AssetServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions ca
*
* <pre>
* Exports assets with time and resource types to a given Cloud Storage
* location. The output format is newline-delimited JSON.
* This API implements the
* [google.longrunning.Operation][google.longrunning.Operation] API allowing
* you to keep track of the export.
* location/BigQuery table. For Cloud Storage location destinations, the
* output format is newline-delimited JSON. Each line represents a
* [google.cloud.asset.v1.Asset][google.cloud.asset.v1.Asset] in the JSON
* format; for BigQuery table destinations, the output table stores the fields
* in asset proto as columns. This API implements the
* [google.longrunning.Operation][google.longrunning.Operation] API , which
* allows you to keep track of the export. We recommend intervals of at least
* 2 seconds with exponential retry to poll the export operation result. For
* regular-size resource parent, the export operation usually finishes within
* 5 minutes.
* </pre>
*/
public void exportAssets(
@@ -720,10 +732,10 @@ public void exportAssets(
*
* <pre>
* Batch gets the update history of assets that overlap a time window.
* For RESOURCE content, this API outputs history with asset in both
* non-delete or deleted status.
* For IAM_POLICY content, this API outputs history when the asset and its
* attached IAM POLICY both exist. This can create gaps in the output history.
* Otherwise, this API outputs history with asset in both non-delete or
* deleted status.
* If a specified asset does not exist, this API returns an INVALID_ARGUMENT
* error.
* </pre>
@@ -874,10 +886,16 @@ protected AssetServiceBlockingStub build(
*
* <pre>
* Exports assets with time and resource types to a given Cloud Storage
* location. The output format is newline-delimited JSON.
* This API implements the
* [google.longrunning.Operation][google.longrunning.Operation] API allowing
* you to keep track of the export.
* location/BigQuery table. For Cloud Storage location destinations, the
* output format is newline-delimited JSON. Each line represents a
* [google.cloud.asset.v1.Asset][google.cloud.asset.v1.Asset] in the JSON
* format; for BigQuery table destinations, the output table stores the fields
* in asset proto as columns. This API implements the
* [google.longrunning.Operation][google.longrunning.Operation] API , which
* allows you to keep track of the export. We recommend intervals of at least
* 2 seconds with exponential retry to poll the export operation result. For
* regular-size resource parent, the export operation usually finishes within
* 5 minutes.
* </pre>
*/
public com.google.longrunning.Operation exportAssets(
@@ -890,10 +908,10 @@ public com.google.longrunning.Operation exportAssets(
*
* <pre>
* Batch gets the update history of assets that overlap a time window.
* For RESOURCE content, this API outputs history with asset in both
* non-delete or deleted status.
* For IAM_POLICY content, this API outputs history when the asset and its
* attached IAM POLICY both exist. This can create gaps in the output history.
* Otherwise, this API outputs history with asset in both non-delete or
* deleted status.
* If a specified asset does not exist, this API returns an INVALID_ARGUMENT
* error.
* </pre>
@@ -1022,10 +1040,16 @@ protected AssetServiceFutureStub build(
*
* <pre>
* Exports assets with time and resource types to a given Cloud Storage
* location. The output format is newline-delimited JSON.
* This API implements the
* [google.longrunning.Operation][google.longrunning.Operation] API allowing
* you to keep track of the export.
* location/BigQuery table. For Cloud Storage location destinations, the
* output format is newline-delimited JSON. Each line represents a
* [google.cloud.asset.v1.Asset][google.cloud.asset.v1.Asset] in the JSON
* format; for BigQuery table destinations, the output table stores the fields
* in asset proto as columns. This API implements the
* [google.longrunning.Operation][google.longrunning.Operation] API , which
* allows you to keep track of the export. We recommend intervals of at least
* 2 seconds with exponential retry to poll the export operation result. For
* regular-size resource parent, the export operation usually finishes within
* 5 minutes.
* </pre>
*/
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation>
@@ -1039,10 +1063,10 @@ protected AssetServiceFutureStub build(
*
* <pre>
* Batch gets the update history of assets that overlap a time window.
* For RESOURCE content, this API outputs history with asset in both
* non-delete or deleted status.
* For IAM_POLICY content, this API outputs history when the asset and its
* attached IAM POLICY both exist. This can create gaps in the output history.
* Otherwise, this API outputs history with asset in both non-delete or
* deleted status.
* If a specified asset does not exist, this API returns an INVALID_ARGUMENT
* error.
* </pre>

0 comments on commit f14bd11

Please sign in to comment.