public static final class AssetServiceGrpc.AssetServiceStub extends io.grpc.stub.AbstractStub<AssetServiceGrpc.AssetServiceStub>
Asset service definition.
| Modifier and Type | Method and Description |
|---|---|
void |
batchGetAssetsHistory(BatchGetAssetsHistoryRequest request,
io.grpc.stub.StreamObserver<BatchGetAssetsHistoryResponse> responseObserver)
Batch gets the update history of assets that overlap a time window.
|
protected AssetServiceGrpc.AssetServiceStub |
build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) |
void |
exportAssets(ExportAssetsRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Exports assets with time and resource types to a given Cloud Storage
location.
|
protected AssetServiceGrpc.AssetServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build in class io.grpc.stub.AbstractStub<AssetServiceGrpc.AssetServiceStub>public void exportAssets(ExportAssetsRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
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.
public void batchGetAssetsHistory(BatchGetAssetsHistoryRequest request, io.grpc.stub.StreamObserver<BatchGetAssetsHistoryResponse> responseObserver)
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. If a specified asset does not exist, this API returns an INVALID_ARGUMENT error.
Copyright © 2019 Google LLC. All rights reserved.