Show / Hide Table of Contents

Class AssetService.AssetServiceBase

Base class for server-side implementations of AssetService

Inheritance
System.Object
AssetService.AssetServiceBase
Inherited Members
System.Object.ToString()
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Google.Cloud.Asset.V1Beta1
Assembly: Google.Cloud.Asset.V1Beta1.dll
Syntax
[BindServiceMethod(typeof(AssetService), "BindService")]
public abstract class AssetServiceBase

Methods

BatchGetAssetsHistory(BatchGetAssetsHistoryRequest, ServerCallContext)

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 virtual Task<BatchGetAssetsHistoryResponse> BatchGetAssetsHistory(BatchGetAssetsHistoryRequest request, ServerCallContext context)
Parameters
Type Name Description
BatchGetAssetsHistoryRequest request

The request received from the client.

ServerCallContext context

The context of the server-side call handler being invoked.

Returns
Type Description
System.Threading.Tasks.Task<BatchGetAssetsHistoryResponse>

The response to send back to the client (wrapped by a task).

ExportAssets(ExportAssetsRequest, ServerCallContext)

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 virtual Task<Operation> ExportAssets(ExportAssetsRequest request, ServerCallContext context)
Parameters
Type Name Description
ExportAssetsRequest request

The request received from the client.

ServerCallContext context

The context of the server-side call handler being invoked.

Returns
Type Description
System.Threading.Tasks.Task<Operation>

The response to send back to the client (wrapped by a task).

Back to top