@Generated("by gapic-generator-java")
Package com.google.cloud.asset.v1p7beta1
A client to Cloud Asset API
The interfaces provided are listed below, along with usage samples.
======================= AssetServiceClient =======================
Service Description: Asset service definition.
Sample for AssetServiceClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (AssetServiceClient assetServiceClient = AssetServiceClient.create()) {
ExportAssetsRequest request =
ExportAssetsRequest.newBuilder()
.setParent(BillingAccountName.of("[BILLING_ACCOUNT]").toString())
.setReadTime(Timestamp.newBuilder().build())
.addAllAssetTypes(new ArrayList<String>())
.setContentType(ContentType.forNumber(0))
.setOutputConfig(OutputConfig.newBuilder().build())
.addAllRelationshipTypes(new ArrayList<String>())
.build();
ExportAssetsResponse response = assetServiceClient.exportAssetsAsync(request).get();
}
-
Class Summary Class Description Asset An asset in Google Cloud.Asset.Builder An asset in Google Cloud.AssetProto AssetServiceClient Service Description: Asset service definition.AssetServiceGrpc Asset service definition.AssetServiceGrpc.AssetServiceBlockingStub A stub to allow clients to do synchronous rpc calls to service AssetService.AssetServiceGrpc.AssetServiceFutureStub A stub to allow clients to do ListenableFuture-style rpc calls to service AssetService.AssetServiceGrpc.AssetServiceImplBase Base class for the server implementation of the service AssetService.AssetServiceGrpc.AssetServiceStub A stub to allow clients to do asynchronous rpc calls to service AssetService.AssetServiceProto AssetServiceSettings Settings class to configure an instance ofAssetServiceClient
.AssetServiceSettings.Builder Builder for AssetServiceSettings.BigQueryDestination A BigQuery destination for exporting assets to.BigQueryDestination.Builder A BigQuery destination for exporting assets to.ExportAssetsRequest Export asset request.ExportAssetsRequest.Builder Export asset request.ExportAssetsResponse The export asset response.ExportAssetsResponse.Builder The export asset response.GcsDestination A Cloud Storage location.GcsDestination.Builder A Cloud Storage location.GcsOutputResult A Cloud Storage output result.GcsOutputResult.Builder A Cloud Storage output result.OutputConfig Output configuration for export assets destination.OutputConfig.Builder Output configuration for export assets destination.OutputResult Output result of export assets.OutputResult.Builder Output result of export assets.PartitionSpec Specifications of BigQuery partitioned table as export destination.PartitionSpec.Builder Specifications of BigQuery partitioned table as export destination.RelatedAsset An asset identify in Google Cloud which contains its name, type and ancestors.RelatedAsset.Builder An asset identify in Google Cloud which contains its name, type and ancestors.RelatedAssets The detailed related assets with the `relationship_type`.RelatedAssets.Builder The detailed related assets with the `relationship_type`.RelationshipAttributes The relationship attributes which include `type`, `source_resource_type`, `target_resource_type` and `action`.RelationshipAttributes.Builder The relationship attributes which include `type`, `source_resource_type`, `target_resource_type` and `action`.Resource A representation of a Google Cloud resource.Resource.Builder A representation of a Google Cloud resource. -
Enum Summary Enum Description Asset.AccessContextPolicyCase ContentType Asset content type.GcsDestination.ObjectUriCase OutputConfig.DestinationCase OutputResult.ResultCase PartitionSpec.PartitionKey This enum is used to determine the partition key column when exporting assets to BigQuery partitioned table(s).