@Generated(value="by gapic-generator-java")
See: Description
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 |
Asset service definition.
|
AssetServiceGrpc.AssetServiceFutureStub |
Asset service definition.
|
AssetServiceGrpc.AssetServiceImplBase |
Asset service definition.
|
AssetServiceGrpc.AssetServiceStub |
Asset service definition.
|
AssetServiceProto | |
AssetServiceSettings |
Settings class to configure an instance of
AssetServiceClient . |
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 | 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).
|
======================= 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();
}
Copyright © 2022 Google LLC. All rights reserved.