Class AssetServiceClientImpl
AssetService client wrapper implementation, for convenient use.
Inherited Members
Namespace: Google.Cloud.Asset.V1Beta1
Assembly: Google.Cloud.Asset.V1Beta1.dll
Syntax
public sealed class AssetServiceClientImpl : AssetServiceClient
Constructors
AssetServiceClientImpl(AssetService.AssetServiceClient, AssetServiceSettings)
Constructs a client wrapper for the AssetService service, with the specified gRPC client and settings.
Declaration
public AssetServiceClientImpl(AssetService.AssetServiceClient grpcClient, AssetServiceSettings settings)
Parameters
Type | Name | Description |
---|---|---|
AssetService.AssetServiceClient | grpcClient | The underlying gRPC client. |
AssetServiceSettings | settings | The base AssetServiceSettings used within this client |
Properties
ExportAssetsOperationsClient
The long-running operations client for ExportAssets
.
Declaration
public override OperationsClient ExportAssetsOperationsClient { get; }
Property Value
Type | Description |
---|---|
OperationsClient |
Overrides
GrpcClient
The underlying gRPC AssetService client.
Declaration
public override AssetService.AssetServiceClient GrpcClient { get; }
Property Value
Type | Description |
---|---|
AssetService.AssetServiceClient |
Overrides
Methods
BatchGetAssetsHistory(BatchGetAssetsHistoryRequest, CallSettings)
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.
Declaration
public override BatchGetAssetsHistoryResponse BatchGetAssetsHistory(BatchGetAssetsHistoryRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
BatchGetAssetsHistoryRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
BatchGetAssetsHistoryResponse | The RPC response. |
Overrides
BatchGetAssetsHistoryAsync(BatchGetAssetsHistoryRequest, CallSettings)
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.
Declaration
public override Task<BatchGetAssetsHistoryResponse> BatchGetAssetsHistoryAsync(BatchGetAssetsHistoryRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
BatchGetAssetsHistoryRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<BatchGetAssetsHistoryResponse> | A Task containing the RPC response. |
Overrides
ExportAssets(ExportAssetsRequest, CallSettings)
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.
Declaration
public override Operation<ExportAssetsResponse, ExportAssetsRequest> ExportAssets(ExportAssetsRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
ExportAssetsRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Operation<ExportAssetsResponse, ExportAssetsRequest> | The RPC response. |
Overrides
ExportAssetsAsync(ExportAssetsRequest, CallSettings)
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.
Declaration
public override Task<Operation<ExportAssetsResponse, ExportAssetsRequest>> ExportAssetsAsync(ExportAssetsRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
ExportAssetsRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<Operation<ExportAssetsResponse, ExportAssetsRequest>> | A Task containing the RPC response. |