Class AssetServiceGrpc.AssetServiceBlockingV2Stub

java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<AssetServiceGrpc.AssetServiceBlockingV2Stub>
com.google.cloud.asset.v1p7beta1.AssetServiceGrpc.AssetServiceBlockingV2Stub
Enclosing class:
AssetServiceGrpc

public static final class AssetServiceGrpc.AssetServiceBlockingV2Stub extends io.grpc.stub.AbstractBlockingStub<AssetServiceGrpc.AssetServiceBlockingV2Stub>
A stub to allow clients to do synchronous rpc calls to service AssetService.
 Asset service definition.
 
  • Nested Class Summary

    Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub

    io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>>
  • Method Summary

    Modifier and Type
    Method
    Description
    build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
     
    Exports assets with time and resource types to a given Cloud Storage location/BigQuery table.

    Methods inherited from class io.grpc.stub.AbstractBlockingStub

    newStub, newStub

    Methods inherited from class io.grpc.stub.AbstractStub

    getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • build

      protected AssetServiceGrpc.AssetServiceBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.grpc.stub.AbstractStub<AssetServiceGrpc.AssetServiceBlockingV2Stub>
    • exportAssets

      public Operation exportAssets(ExportAssetsRequest request) throws io.grpc.StatusException
       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.v1p7beta1.Asset][google.cloud.asset.v1p7beta1.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.
       
      Throws:
      io.grpc.StatusException