public class AssetServiceClient : ClientBase<AssetService.AssetServiceClient>
Client for AssetService
Inheritance
Object > ClientBase > ClientBase<AssetService.AssetServiceClient> > AssetService.AssetServiceClientNamespace
Google.Cloud.Asset.V1Assembly
Google.Cloud.Asset.V1.dll
Constructors
AssetServiceClient()
protected AssetServiceClient()
Protected parameterless constructor to allow creation of test doubles.
AssetServiceClient(CallInvoker)
public AssetServiceClient(CallInvoker callInvoker)
Creates a new client for AssetService that uses a custom CallInvoker
.
Parameter | |
---|---|
Name | Description |
callInvoker | CallInvoker The callInvoker to use to make remote calls. |
AssetServiceClient(Channel)
[Obsolete("This constructor overload is present for compatibility only, and will be removed in the next major version")]
public AssetServiceClient(Channel channel)
Creates a new client using a channel.
Parameter | |
---|---|
Name | Description |
channel | Grpc.Core.Channel The channel to use to make remote calls. |
AssetServiceClient(ChannelBase)
public AssetServiceClient(ChannelBase channel)
Creates a new client for AssetService
Parameter | |
---|---|
Name | Description |
channel | ChannelBase The channel to use to make remote calls. |
AssetServiceClient(ClientBase.ClientBaseConfiguration)
protected AssetServiceClient(ClientBase.ClientBaseConfiguration configuration)
Protected constructor to allow creation of configured clients.
Parameter | |
---|---|
Name | Description |
configuration | ClientBase.ClientBaseConfiguration The client configuration. |
Methods
AnalyzeIamPolicy(AnalyzeIamPolicyRequest, CallOptions)
public virtual AnalyzeIamPolicyResponse AnalyzeIamPolicy(AnalyzeIamPolicyRequest request, CallOptions options)
Analyzes IAM policies to answer which identities have what accesses on which resources.
Parameters | |
---|---|
Name | Description |
request | AnalyzeIamPolicyRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AnalyzeIamPolicyResponse | The response received from the server. |
AnalyzeIamPolicy(AnalyzeIamPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AnalyzeIamPolicyResponse AnalyzeIamPolicy(AnalyzeIamPolicyRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Analyzes IAM policies to answer which identities have what accesses on which resources.
Parameters | |
---|---|
Name | Description |
request | AnalyzeIamPolicyRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AnalyzeIamPolicyResponse | The response received from the server. |
AnalyzeIamPolicyAsync(AnalyzeIamPolicyRequest, CallOptions)
public virtual AsyncUnaryCall<AnalyzeIamPolicyResponse> AnalyzeIamPolicyAsync(AnalyzeIamPolicyRequest request, CallOptions options)
Analyzes IAM policies to answer which identities have what accesses on which resources.
Parameters | |
---|---|
Name | Description |
request | AnalyzeIamPolicyRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<AnalyzeIamPolicyResponse> | The call object. |
AnalyzeIamPolicyAsync(AnalyzeIamPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<AnalyzeIamPolicyResponse> AnalyzeIamPolicyAsync(AnalyzeIamPolicyRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Analyzes IAM policies to answer which identities have what accesses on which resources.
Parameters | |
---|---|
Name | Description |
request | AnalyzeIamPolicyRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<AnalyzeIamPolicyResponse> | The call object. |
AnalyzeIamPolicyLongrunning(AnalyzeIamPolicyLongrunningRequest, CallOptions)
public virtual Operation AnalyzeIamPolicyLongrunning(AnalyzeIamPolicyLongrunningRequest request, CallOptions options)
Analyzes IAM policies asynchronously to answer which identities have what accesses on which resources, and writes the analysis results to a Google Cloud Storage or a BigQuery destination. For Cloud Storage destination, the output format is the JSON format that represents a [AnalyzeIamPolicyResponse][google.cloud.asset.v1.AnalyzeIamPolicyResponse]. This method implements the [google.longrunning.Operation][google.longrunning.Operation], which allows you to track the operation status. We recommend intervals of at least 2 seconds with exponential backoff retry to poll the operation result. The metadata contains the request to help callers to map responses to requests.
Parameters | |
---|---|
Name | Description |
request | AnalyzeIamPolicyLongrunningRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
AnalyzeIamPolicyLongrunning(AnalyzeIamPolicyLongrunningRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation AnalyzeIamPolicyLongrunning(AnalyzeIamPolicyLongrunningRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Analyzes IAM policies asynchronously to answer which identities have what accesses on which resources, and writes the analysis results to a Google Cloud Storage or a BigQuery destination. For Cloud Storage destination, the output format is the JSON format that represents a [AnalyzeIamPolicyResponse][google.cloud.asset.v1.AnalyzeIamPolicyResponse]. This method implements the [google.longrunning.Operation][google.longrunning.Operation], which allows you to track the operation status. We recommend intervals of at least 2 seconds with exponential backoff retry to poll the operation result. The metadata contains the request to help callers to map responses to requests.
Parameters | |
---|---|
Name | Description |
request | AnalyzeIamPolicyLongrunningRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
AnalyzeIamPolicyLongrunningAsync(AnalyzeIamPolicyLongrunningRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> AnalyzeIamPolicyLongrunningAsync(AnalyzeIamPolicyLongrunningRequest request, CallOptions options)
Analyzes IAM policies asynchronously to answer which identities have what accesses on which resources, and writes the analysis results to a Google Cloud Storage or a BigQuery destination. For Cloud Storage destination, the output format is the JSON format that represents a [AnalyzeIamPolicyResponse][google.cloud.asset.v1.AnalyzeIamPolicyResponse]. This method implements the [google.longrunning.Operation][google.longrunning.Operation], which allows you to track the operation status. We recommend intervals of at least 2 seconds with exponential backoff retry to poll the operation result. The metadata contains the request to help callers to map responses to requests.
Parameters | |
---|---|
Name | Description |
request | AnalyzeIamPolicyLongrunningRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Operation> | The call object. |
AnalyzeIamPolicyLongrunningAsync(AnalyzeIamPolicyLongrunningRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> AnalyzeIamPolicyLongrunningAsync(AnalyzeIamPolicyLongrunningRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Analyzes IAM policies asynchronously to answer which identities have what accesses on which resources, and writes the analysis results to a Google Cloud Storage or a BigQuery destination. For Cloud Storage destination, the output format is the JSON format that represents a [AnalyzeIamPolicyResponse][google.cloud.asset.v1.AnalyzeIamPolicyResponse]. This method implements the [google.longrunning.Operation][google.longrunning.Operation], which allows you to track the operation status. We recommend intervals of at least 2 seconds with exponential backoff retry to poll the operation result. The metadata contains the request to help callers to map responses to requests.
Parameters | |
---|---|
Name | Description |
request | AnalyzeIamPolicyLongrunningRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Operation> | The call object. |
BatchGetAssetsHistory(BatchGetAssetsHistoryRequest, CallOptions)
public virtual BatchGetAssetsHistoryResponse BatchGetAssetsHistory(BatchGetAssetsHistoryRequest request, CallOptions options)
Batch gets the update history of assets that overlap a time window. 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. Otherwise, this API outputs history with asset in both non-delete or deleted status. If a specified asset does not exist, this API returns an INVALID_ARGUMENT error.
Parameters | |
---|---|
Name | Description |
request | BatchGetAssetsHistoryRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
BatchGetAssetsHistoryResponse | The response received from the server. |
BatchGetAssetsHistory(BatchGetAssetsHistoryRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual BatchGetAssetsHistoryResponse BatchGetAssetsHistory(BatchGetAssetsHistoryRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Batch gets the update history of assets that overlap a time window. 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. Otherwise, this API outputs history with asset in both non-delete or deleted status. If a specified asset does not exist, this API returns an INVALID_ARGUMENT error.
Parameters | |
---|---|
Name | Description |
request | BatchGetAssetsHistoryRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
BatchGetAssetsHistoryResponse | The response received from the server. |
BatchGetAssetsHistoryAsync(BatchGetAssetsHistoryRequest, CallOptions)
public virtual AsyncUnaryCall<BatchGetAssetsHistoryResponse> BatchGetAssetsHistoryAsync(BatchGetAssetsHistoryRequest request, CallOptions options)
Batch gets the update history of assets that overlap a time window. 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. Otherwise, this API outputs history with asset in both non-delete or deleted status. If a specified asset does not exist, this API returns an INVALID_ARGUMENT error.
Parameters | |
---|---|
Name | Description |
request | BatchGetAssetsHistoryRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<BatchGetAssetsHistoryResponse> | The call object. |
BatchGetAssetsHistoryAsync(BatchGetAssetsHistoryRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<BatchGetAssetsHistoryResponse> BatchGetAssetsHistoryAsync(BatchGetAssetsHistoryRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Batch gets the update history of assets that overlap a time window. 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. Otherwise, this API outputs history with asset in both non-delete or deleted status. If a specified asset does not exist, this API returns an INVALID_ARGUMENT error.
Parameters | |
---|---|
Name | Description |
request | BatchGetAssetsHistoryRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<BatchGetAssetsHistoryResponse> | The call object. |
CreateFeed(CreateFeedRequest, CallOptions)
public virtual Feed CreateFeed(CreateFeedRequest request, CallOptions options)
Creates a feed in a parent project/folder/organization to listen to its asset updates.
Parameters | |
---|---|
Name | Description |
request | CreateFeedRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Feed | The response received from the server. |
CreateFeed(CreateFeedRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Feed CreateFeed(CreateFeedRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Creates a feed in a parent project/folder/organization to listen to its asset updates.
Parameters | |
---|---|
Name | Description |
request | CreateFeedRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Feed | The response received from the server. |
CreateFeedAsync(CreateFeedRequest, CallOptions)
public virtual AsyncUnaryCall<Feed> CreateFeedAsync(CreateFeedRequest request, CallOptions options)
Creates a feed in a parent project/folder/organization to listen to its asset updates.
Parameters | |
---|---|
Name | Description |
request | CreateFeedRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Feed> | The call object. |
CreateFeedAsync(CreateFeedRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Feed> CreateFeedAsync(CreateFeedRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Creates a feed in a parent project/folder/organization to listen to its asset updates.
Parameters | |
---|---|
Name | Description |
request | CreateFeedRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Feed> | The call object. |
CreateOperationsClient()
public virtual Operations.OperationsClient CreateOperationsClient()
Creates a new instance of Operations.OperationsClient using the same call invoker as this client.
Returns | |
---|---|
Type | Description |
Operations.OperationsClient | A new Operations client for the same target as this client. |
DeleteFeed(DeleteFeedRequest, CallOptions)
public virtual Empty DeleteFeed(DeleteFeedRequest request, CallOptions options)
Deletes an asset feed.
Parameters | |
---|---|
Name | Description |
request | DeleteFeedRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Empty | The response received from the server. |
DeleteFeed(DeleteFeedRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Empty DeleteFeed(DeleteFeedRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Deletes an asset feed.
Parameters | |
---|---|
Name | Description |
request | DeleteFeedRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Empty | The response received from the server. |
DeleteFeedAsync(DeleteFeedRequest, CallOptions)
public virtual AsyncUnaryCall<Empty> DeleteFeedAsync(DeleteFeedRequest request, CallOptions options)
Deletes an asset feed.
Parameters | |
---|---|
Name | Description |
request | DeleteFeedRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Empty> | The call object. |
DeleteFeedAsync(DeleteFeedRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Empty> DeleteFeedAsync(DeleteFeedRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Deletes an asset feed.
Parameters | |
---|---|
Name | Description |
request | DeleteFeedRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Empty> | The call object. |
ExportAssets(ExportAssetsRequest, CallOptions)
public virtual Operation ExportAssets(ExportAssetsRequest request, CallOptions options)
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.v1.Asset][google.cloud.asset.v1.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.
Parameters | |
---|---|
Name | Description |
request | ExportAssetsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
ExportAssets(ExportAssetsRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation ExportAssets(ExportAssetsRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
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.v1.Asset][google.cloud.asset.v1.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.
Parameters | |
---|---|
Name | Description |
request | ExportAssetsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
ExportAssetsAsync(ExportAssetsRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> ExportAssetsAsync(ExportAssetsRequest request, CallOptions options)
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.v1.Asset][google.cloud.asset.v1.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.
Parameters | |
---|---|
Name | Description |
request | ExportAssetsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Operation> | The call object. |
ExportAssetsAsync(ExportAssetsRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> ExportAssetsAsync(ExportAssetsRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
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.v1.Asset][google.cloud.asset.v1.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.
Parameters | |
---|---|
Name | Description |
request | ExportAssetsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Operation> | The call object. |
GetFeed(GetFeedRequest, CallOptions)
public virtual Feed GetFeed(GetFeedRequest request, CallOptions options)
Gets details about an asset feed.
Parameters | |
---|---|
Name | Description |
request | GetFeedRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Feed | The response received from the server. |
GetFeed(GetFeedRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Feed GetFeed(GetFeedRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Gets details about an asset feed.
Parameters | |
---|---|
Name | Description |
request | GetFeedRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Feed | The response received from the server. |
GetFeedAsync(GetFeedRequest, CallOptions)
public virtual AsyncUnaryCall<Feed> GetFeedAsync(GetFeedRequest request, CallOptions options)
Gets details about an asset feed.
Parameters | |
---|---|
Name | Description |
request | GetFeedRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Feed> | The call object. |
GetFeedAsync(GetFeedRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Feed> GetFeedAsync(GetFeedRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Gets details about an asset feed.
Parameters | |
---|---|
Name | Description |
request | GetFeedRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Feed> | The call object. |
ListAssets(ListAssetsRequest, CallOptions)
public virtual ListAssetsResponse ListAssets(ListAssetsRequest request, CallOptions options)
Lists assets with time and resource types and returns paged results in response.
Parameters | |
---|---|
Name | Description |
request | ListAssetsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
ListAssetsResponse | The response received from the server. |
ListAssets(ListAssetsRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual ListAssetsResponse ListAssets(ListAssetsRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Lists assets with time and resource types and returns paged results in response.
Parameters | |
---|---|
Name | Description |
request | ListAssetsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
ListAssetsResponse | The response received from the server. |
ListAssetsAsync(ListAssetsRequest, CallOptions)
public virtual AsyncUnaryCall<ListAssetsResponse> ListAssetsAsync(ListAssetsRequest request, CallOptions options)
Lists assets with time and resource types and returns paged results in response.
Parameters | |
---|---|
Name | Description |
request | ListAssetsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<ListAssetsResponse> | The call object. |
ListAssetsAsync(ListAssetsRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<ListAssetsResponse> ListAssetsAsync(ListAssetsRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Lists assets with time and resource types and returns paged results in response.
Parameters | |
---|---|
Name | Description |
request | ListAssetsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<ListAssetsResponse> | The call object. |
ListFeeds(ListFeedsRequest, CallOptions)
public virtual ListFeedsResponse ListFeeds(ListFeedsRequest request, CallOptions options)
Lists all asset feeds in a parent project/folder/organization.
Parameters | |
---|---|
Name | Description |
request | ListFeedsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
ListFeedsResponse | The response received from the server. |
ListFeeds(ListFeedsRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual ListFeedsResponse ListFeeds(ListFeedsRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Lists all asset feeds in a parent project/folder/organization.
Parameters | |
---|---|
Name | Description |
request | ListFeedsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
ListFeedsResponse | The response received from the server. |
ListFeedsAsync(ListFeedsRequest, CallOptions)
public virtual AsyncUnaryCall<ListFeedsResponse> ListFeedsAsync(ListFeedsRequest request, CallOptions options)
Lists all asset feeds in a parent project/folder/organization.
Parameters | |
---|---|
Name | Description |
request | ListFeedsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<ListFeedsResponse> | The call object. |
ListFeedsAsync(ListFeedsRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<ListFeedsResponse> ListFeedsAsync(ListFeedsRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Lists all asset feeds in a parent project/folder/organization.
Parameters | |
---|---|
Name | Description |
request | ListFeedsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<ListFeedsResponse> | The call object. |
NewInstance(ClientBase.ClientBaseConfiguration)
protected override AssetService.AssetServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Creates a new instance of client from given ClientBaseConfiguration
.
Parameter | |
---|---|
Name | Description |
configuration | ClientBase.ClientBaseConfiguration |
Returns | |
---|---|
Type | Description |
AssetService.AssetServiceClient |
SearchAllIamPolicies(SearchAllIamPoliciesRequest, CallOptions)
public virtual SearchAllIamPoliciesResponse SearchAllIamPolicies(SearchAllIamPoliciesRequest request, CallOptions options)
Searches all IAM policies within the specified scope, such as a project,
folder, or organization. The caller must be granted the
cloudasset.assets.searchAllIamPolicies
permission on the desired scope,
otherwise the request will be rejected.
Parameters | |
---|---|
Name | Description |
request | SearchAllIamPoliciesRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
SearchAllIamPoliciesResponse | The response received from the server. |
SearchAllIamPolicies(SearchAllIamPoliciesRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual SearchAllIamPoliciesResponse SearchAllIamPolicies(SearchAllIamPoliciesRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Searches all IAM policies within the specified scope, such as a project,
folder, or organization. The caller must be granted the
cloudasset.assets.searchAllIamPolicies
permission on the desired scope,
otherwise the request will be rejected.
Parameters | |
---|---|
Name | Description |
request | SearchAllIamPoliciesRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
SearchAllIamPoliciesResponse | The response received from the server. |
SearchAllIamPoliciesAsync(SearchAllIamPoliciesRequest, CallOptions)
public virtual AsyncUnaryCall<SearchAllIamPoliciesResponse> SearchAllIamPoliciesAsync(SearchAllIamPoliciesRequest request, CallOptions options)
Searches all IAM policies within the specified scope, such as a project,
folder, or organization. The caller must be granted the
cloudasset.assets.searchAllIamPolicies
permission on the desired scope,
otherwise the request will be rejected.
Parameters | |
---|---|
Name | Description |
request | SearchAllIamPoliciesRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<SearchAllIamPoliciesResponse> | The call object. |
SearchAllIamPoliciesAsync(SearchAllIamPoliciesRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<SearchAllIamPoliciesResponse> SearchAllIamPoliciesAsync(SearchAllIamPoliciesRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Searches all IAM policies within the specified scope, such as a project,
folder, or organization. The caller must be granted the
cloudasset.assets.searchAllIamPolicies
permission on the desired scope,
otherwise the request will be rejected.
Parameters | |
---|---|
Name | Description |
request | SearchAllIamPoliciesRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<SearchAllIamPoliciesResponse> | The call object. |
SearchAllResources(SearchAllResourcesRequest, CallOptions)
public virtual SearchAllResourcesResponse SearchAllResources(SearchAllResourcesRequest request, CallOptions options)
Searches all Cloud resources within the specified scope, such as a project,
folder, or organization. The caller must be granted the
cloudasset.assets.searchAllResources
permission on the desired scope,
otherwise the request will be rejected.
Parameters | |
---|---|
Name | Description |
request | SearchAllResourcesRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
SearchAllResourcesResponse | The response received from the server. |
SearchAllResources(SearchAllResourcesRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual SearchAllResourcesResponse SearchAllResources(SearchAllResourcesRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Searches all Cloud resources within the specified scope, such as a project,
folder, or organization. The caller must be granted the
cloudasset.assets.searchAllResources
permission on the desired scope,
otherwise the request will be rejected.
Parameters | |
---|---|
Name | Description |
request | SearchAllResourcesRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
SearchAllResourcesResponse | The response received from the server. |
SearchAllResourcesAsync(SearchAllResourcesRequest, CallOptions)
public virtual AsyncUnaryCall<SearchAllResourcesResponse> SearchAllResourcesAsync(SearchAllResourcesRequest request, CallOptions options)
Searches all Cloud resources within the specified scope, such as a project,
folder, or organization. The caller must be granted the
cloudasset.assets.searchAllResources
permission on the desired scope,
otherwise the request will be rejected.
Parameters | |
---|---|
Name | Description |
request | SearchAllResourcesRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<SearchAllResourcesResponse> | The call object. |
SearchAllResourcesAsync(SearchAllResourcesRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<SearchAllResourcesResponse> SearchAllResourcesAsync(SearchAllResourcesRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Searches all Cloud resources within the specified scope, such as a project,
folder, or organization. The caller must be granted the
cloudasset.assets.searchAllResources
permission on the desired scope,
otherwise the request will be rejected.
Parameters | |
---|---|
Name | Description |
request | SearchAllResourcesRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<SearchAllResourcesResponse> | The call object. |
UpdateFeed(UpdateFeedRequest, CallOptions)
public virtual Feed UpdateFeed(UpdateFeedRequest request, CallOptions options)
Updates an asset feed configuration.
Parameters | |
---|---|
Name | Description |
request | UpdateFeedRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Feed | The response received from the server. |
UpdateFeed(UpdateFeedRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Feed UpdateFeed(UpdateFeedRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Updates an asset feed configuration.
Parameters | |
---|---|
Name | Description |
request | UpdateFeedRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Feed | The response received from the server. |
UpdateFeedAsync(UpdateFeedRequest, CallOptions)
public virtual AsyncUnaryCall<Feed> UpdateFeedAsync(UpdateFeedRequest request, CallOptions options)
Updates an asset feed configuration.
Parameters | |
---|---|
Name | Description |
request | UpdateFeedRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Feed> | The call object. |
UpdateFeedAsync(UpdateFeedRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Feed> UpdateFeedAsync(UpdateFeedRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Updates an asset feed configuration.
Parameters | |
---|---|
Name | Description |
request | UpdateFeedRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Feed> | The call object. |