Google Cloud Asset Inventory v1 API - Class AssetService.AssetServiceClient (3.10.0)

public class AssetService.AssetServiceClient : ClientBase<AssetService.AssetServiceClient>

Reference documentation and code samples for the Google Cloud Asset Inventory v1 API class AssetService.AssetServiceClient.

Client for AssetService

Inheritance

object > ClientBase > ClientBaseAssetServiceAssetServiceClient > AssetService.AssetServiceClient

Namespace

Google.Cloud.Asset.V1

Assembly

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
NameDescription
callInvokerCallInvoker

The callInvoker to use to make remote calls.

AssetServiceClient(ChannelBase)

public AssetServiceClient(ChannelBase channel)

Creates a new client for AssetService

Parameter
NameDescription
channelChannelBase

The channel to use to make remote calls.

AssetServiceClient(ClientBaseConfiguration)

protected AssetServiceClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration

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
NameDescription
requestAnalyzeIamPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AnalyzeIamPolicyResponse

The response received from the server.

AnalyzeIamPolicy(AnalyzeIamPolicyRequest, Metadata, DateTime?, CancellationToken)

public virtual AnalyzeIamPolicyResponse AnalyzeIamPolicy(AnalyzeIamPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Analyzes IAM policies to answer which identities have what accesses on which resources.

Parameters
NameDescription
requestAnalyzeIamPolicyRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestAnalyzeIamPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallAnalyzeIamPolicyResponse

The call object.

AnalyzeIamPolicyAsync(AnalyzeIamPolicyRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<AnalyzeIamPolicyResponse> AnalyzeIamPolicyAsync(AnalyzeIamPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Analyzes IAM policies to answer which identities have what accesses on which resources.

Parameters
NameDescription
requestAnalyzeIamPolicyRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallAnalyzeIamPolicyResponse

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 metadata for the long-running operation.

Parameters
NameDescription
requestAnalyzeIamPolicyLongrunningRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

AnalyzeIamPolicyLongrunning(AnalyzeIamPolicyLongrunningRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation AnalyzeIamPolicyLongrunning(AnalyzeIamPolicyLongrunningRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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 metadata for the long-running operation.

Parameters
NameDescription
requestAnalyzeIamPolicyLongrunningRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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 metadata for the long-running operation.

Parameters
NameDescription
requestAnalyzeIamPolicyLongrunningRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

AnalyzeIamPolicyLongrunningAsync(AnalyzeIamPolicyLongrunningRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> AnalyzeIamPolicyLongrunningAsync(AnalyzeIamPolicyLongrunningRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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 metadata for the long-running operation.

Parameters
NameDescription
requestAnalyzeIamPolicyLongrunningRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

AnalyzeMove(AnalyzeMoveRequest, CallOptions)

public virtual AnalyzeMoveResponse AnalyzeMove(AnalyzeMoveRequest request, CallOptions options)

Analyze moving a resource to a specified destination without kicking off the actual move. The analysis is best effort depending on the user's permissions of viewing different hierarchical policies and configurations. The policies and configuration are subject to change before the actual resource migration takes place.

Parameters
NameDescription
requestAnalyzeMoveRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AnalyzeMoveResponse

The response received from the server.

AnalyzeMove(AnalyzeMoveRequest, Metadata, DateTime?, CancellationToken)

public virtual AnalyzeMoveResponse AnalyzeMove(AnalyzeMoveRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Analyze moving a resource to a specified destination without kicking off the actual move. The analysis is best effort depending on the user's permissions of viewing different hierarchical policies and configurations. The policies and configuration are subject to change before the actual resource migration takes place.

Parameters
NameDescription
requestAnalyzeMoveRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AnalyzeMoveResponse

The response received from the server.

AnalyzeMoveAsync(AnalyzeMoveRequest, CallOptions)

public virtual AsyncUnaryCall<AnalyzeMoveResponse> AnalyzeMoveAsync(AnalyzeMoveRequest request, CallOptions options)

Analyze moving a resource to a specified destination without kicking off the actual move. The analysis is best effort depending on the user's permissions of viewing different hierarchical policies and configurations. The policies and configuration are subject to change before the actual resource migration takes place.

Parameters
NameDescription
requestAnalyzeMoveRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallAnalyzeMoveResponse

The call object.

AnalyzeMoveAsync(AnalyzeMoveRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<AnalyzeMoveResponse> AnalyzeMoveAsync(AnalyzeMoveRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Analyze moving a resource to a specified destination without kicking off the actual move. The analysis is best effort depending on the user's permissions of viewing different hierarchical policies and configurations. The policies and configuration are subject to change before the actual resource migration takes place.

Parameters
NameDescription
requestAnalyzeMoveRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallAnalyzeMoveResponse

The call object.

AnalyzeOrgPolicies(AnalyzeOrgPoliciesRequest, CallOptions)

public virtual AnalyzeOrgPoliciesResponse AnalyzeOrgPolicies(AnalyzeOrgPoliciesRequest request, CallOptions options)

Analyzes organization policies under a scope.

Parameters
NameDescription
requestAnalyzeOrgPoliciesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AnalyzeOrgPoliciesResponse

The response received from the server.

AnalyzeOrgPolicies(AnalyzeOrgPoliciesRequest, Metadata, DateTime?, CancellationToken)

public virtual AnalyzeOrgPoliciesResponse AnalyzeOrgPolicies(AnalyzeOrgPoliciesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Analyzes organization policies under a scope.

Parameters
NameDescription
requestAnalyzeOrgPoliciesRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AnalyzeOrgPoliciesResponse

The response received from the server.

AnalyzeOrgPoliciesAsync(AnalyzeOrgPoliciesRequest, CallOptions)

public virtual AsyncUnaryCall<AnalyzeOrgPoliciesResponse> AnalyzeOrgPoliciesAsync(AnalyzeOrgPoliciesRequest request, CallOptions options)

Analyzes organization policies under a scope.

Parameters
NameDescription
requestAnalyzeOrgPoliciesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallAnalyzeOrgPoliciesResponse

The call object.

AnalyzeOrgPoliciesAsync(AnalyzeOrgPoliciesRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<AnalyzeOrgPoliciesResponse> AnalyzeOrgPoliciesAsync(AnalyzeOrgPoliciesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Analyzes organization policies under a scope.

Parameters
NameDescription
requestAnalyzeOrgPoliciesRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallAnalyzeOrgPoliciesResponse

The call object.

AnalyzeOrgPolicyGovernedAssets(AnalyzeOrgPolicyGovernedAssetsRequest, CallOptions)

public virtual AnalyzeOrgPolicyGovernedAssetsResponse AnalyzeOrgPolicyGovernedAssets(AnalyzeOrgPolicyGovernedAssetsRequest request, CallOptions options)

Analyzes organization policies governed assets (Google Cloud resources or policies) under a scope. This RPC supports custom constraints and the following canned constraints:

  • constraints/ainotebooks.accessMode
  • constraints/ainotebooks.disableFileDownloads
  • constraints/ainotebooks.disableRootAccess
  • constraints/ainotebooks.disableTerminal
  • constraints/ainotebooks.environmentOptions
  • constraints/ainotebooks.requireAutoUpgradeSchedule
  • constraints/ainotebooks.restrictVpcNetworks
  • constraints/compute.disableGuestAttributesAccess
  • constraints/compute.disableInstanceDataAccessApis
  • constraints/compute.disableNestedVirtualization
  • constraints/compute.disableSerialPortAccess
  • constraints/compute.disableSerialPortLogging
  • constraints/compute.disableVpcExternalIpv6
  • constraints/compute.requireOsLogin
  • constraints/compute.requireShieldedVm
  • constraints/compute.restrictLoadBalancerCreationForTypes
  • constraints/compute.restrictProtocolForwardingCreationForTypes
  • constraints/compute.restrictXpnProjectLienRemoval
  • constraints/compute.setNewProjectDefaultToZonalDNSOnly
  • constraints/compute.skipDefaultNetworkCreation
  • constraints/compute.trustedImageProjects
  • constraints/compute.vmCanIpForward
  • constraints/compute.vmExternalIpAccess
  • constraints/gcp.detailedAuditLoggingMode
  • constraints/gcp.resourceLocations
  • constraints/iam.allowedPolicyMemberDomains
  • constraints/iam.automaticIamGrantsForDefaultServiceAccounts
  • constraints/iam.disableServiceAccountCreation
  • constraints/iam.disableServiceAccountKeyCreation
  • constraints/iam.disableServiceAccountKeyUpload
  • constraints/iam.restrictCrossProjectServiceAccountLienRemoval
  • constraints/iam.serviceAccountKeyExpiryHours
  • constraints/resourcemanager.accessBoundaries
  • constraints/resourcemanager.allowedExportDestinations
  • constraints/sql.restrictAuthorizedNetworks
  • constraints/sql.restrictNoncompliantDiagnosticDataAccess
  • constraints/sql.restrictNoncompliantResourceCreation
  • constraints/sql.restrictPublicIp
  • constraints/storage.publicAccessPrevention
  • constraints/storage.restrictAuthTypes
  • constraints/storage.uniformBucketLevelAccess

This RPC only returns either resources of types supported by search APIs or IAM policies.

Parameters
NameDescription
requestAnalyzeOrgPolicyGovernedAssetsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AnalyzeOrgPolicyGovernedAssetsResponse

The response received from the server.

AnalyzeOrgPolicyGovernedAssets(AnalyzeOrgPolicyGovernedAssetsRequest, Metadata, DateTime?, CancellationToken)

public virtual AnalyzeOrgPolicyGovernedAssetsResponse AnalyzeOrgPolicyGovernedAssets(AnalyzeOrgPolicyGovernedAssetsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Analyzes organization policies governed assets (Google Cloud resources or policies) under a scope. This RPC supports custom constraints and the following canned constraints:

  • constraints/ainotebooks.accessMode
  • constraints/ainotebooks.disableFileDownloads
  • constraints/ainotebooks.disableRootAccess
  • constraints/ainotebooks.disableTerminal
  • constraints/ainotebooks.environmentOptions
  • constraints/ainotebooks.requireAutoUpgradeSchedule
  • constraints/ainotebooks.restrictVpcNetworks
  • constraints/compute.disableGuestAttributesAccess
  • constraints/compute.disableInstanceDataAccessApis
  • constraints/compute.disableNestedVirtualization
  • constraints/compute.disableSerialPortAccess
  • constraints/compute.disableSerialPortLogging
  • constraints/compute.disableVpcExternalIpv6
  • constraints/compute.requireOsLogin
  • constraints/compute.requireShieldedVm
  • constraints/compute.restrictLoadBalancerCreationForTypes
  • constraints/compute.restrictProtocolForwardingCreationForTypes
  • constraints/compute.restrictXpnProjectLienRemoval
  • constraints/compute.setNewProjectDefaultToZonalDNSOnly
  • constraints/compute.skipDefaultNetworkCreation
  • constraints/compute.trustedImageProjects
  • constraints/compute.vmCanIpForward
  • constraints/compute.vmExternalIpAccess
  • constraints/gcp.detailedAuditLoggingMode
  • constraints/gcp.resourceLocations
  • constraints/iam.allowedPolicyMemberDomains
  • constraints/iam.automaticIamGrantsForDefaultServiceAccounts
  • constraints/iam.disableServiceAccountCreation
  • constraints/iam.disableServiceAccountKeyCreation
  • constraints/iam.disableServiceAccountKeyUpload
  • constraints/iam.restrictCrossProjectServiceAccountLienRemoval
  • constraints/iam.serviceAccountKeyExpiryHours
  • constraints/resourcemanager.accessBoundaries
  • constraints/resourcemanager.allowedExportDestinations
  • constraints/sql.restrictAuthorizedNetworks
  • constraints/sql.restrictNoncompliantDiagnosticDataAccess
  • constraints/sql.restrictNoncompliantResourceCreation
  • constraints/sql.restrictPublicIp
  • constraints/storage.publicAccessPrevention
  • constraints/storage.restrictAuthTypes
  • constraints/storage.uniformBucketLevelAccess

This RPC only returns either resources of types supported by search APIs or IAM policies.

Parameters
NameDescription
requestAnalyzeOrgPolicyGovernedAssetsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AnalyzeOrgPolicyGovernedAssetsResponse

The response received from the server.

AnalyzeOrgPolicyGovernedAssetsAsync(AnalyzeOrgPolicyGovernedAssetsRequest, CallOptions)

public virtual AsyncUnaryCall<AnalyzeOrgPolicyGovernedAssetsResponse> AnalyzeOrgPolicyGovernedAssetsAsync(AnalyzeOrgPolicyGovernedAssetsRequest request, CallOptions options)

Analyzes organization policies governed assets (Google Cloud resources or policies) under a scope. This RPC supports custom constraints and the following canned constraints:

  • constraints/ainotebooks.accessMode
  • constraints/ainotebooks.disableFileDownloads
  • constraints/ainotebooks.disableRootAccess
  • constraints/ainotebooks.disableTerminal
  • constraints/ainotebooks.environmentOptions
  • constraints/ainotebooks.requireAutoUpgradeSchedule
  • constraints/ainotebooks.restrictVpcNetworks
  • constraints/compute.disableGuestAttributesAccess
  • constraints/compute.disableInstanceDataAccessApis
  • constraints/compute.disableNestedVirtualization
  • constraints/compute.disableSerialPortAccess
  • constraints/compute.disableSerialPortLogging
  • constraints/compute.disableVpcExternalIpv6
  • constraints/compute.requireOsLogin
  • constraints/compute.requireShieldedVm
  • constraints/compute.restrictLoadBalancerCreationForTypes
  • constraints/compute.restrictProtocolForwardingCreationForTypes
  • constraints/compute.restrictXpnProjectLienRemoval
  • constraints/compute.setNewProjectDefaultToZonalDNSOnly
  • constraints/compute.skipDefaultNetworkCreation
  • constraints/compute.trustedImageProjects
  • constraints/compute.vmCanIpForward
  • constraints/compute.vmExternalIpAccess
  • constraints/gcp.detailedAuditLoggingMode
  • constraints/gcp.resourceLocations
  • constraints/iam.allowedPolicyMemberDomains
  • constraints/iam.automaticIamGrantsForDefaultServiceAccounts
  • constraints/iam.disableServiceAccountCreation
  • constraints/iam.disableServiceAccountKeyCreation
  • constraints/iam.disableServiceAccountKeyUpload
  • constraints/iam.restrictCrossProjectServiceAccountLienRemoval
  • constraints/iam.serviceAccountKeyExpiryHours
  • constraints/resourcemanager.accessBoundaries
  • constraints/resourcemanager.allowedExportDestinations
  • constraints/sql.restrictAuthorizedNetworks
  • constraints/sql.restrictNoncompliantDiagnosticDataAccess
  • constraints/sql.restrictNoncompliantResourceCreation
  • constraints/sql.restrictPublicIp
  • constraints/storage.publicAccessPrevention
  • constraints/storage.restrictAuthTypes
  • constraints/storage.uniformBucketLevelAccess

This RPC only returns either resources of types supported by search APIs or IAM policies.

Parameters
NameDescription
requestAnalyzeOrgPolicyGovernedAssetsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallAnalyzeOrgPolicyGovernedAssetsResponse

The call object.

AnalyzeOrgPolicyGovernedAssetsAsync(AnalyzeOrgPolicyGovernedAssetsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<AnalyzeOrgPolicyGovernedAssetsResponse> AnalyzeOrgPolicyGovernedAssetsAsync(AnalyzeOrgPolicyGovernedAssetsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Analyzes organization policies governed assets (Google Cloud resources or policies) under a scope. This RPC supports custom constraints and the following canned constraints:

  • constraints/ainotebooks.accessMode
  • constraints/ainotebooks.disableFileDownloads
  • constraints/ainotebooks.disableRootAccess
  • constraints/ainotebooks.disableTerminal
  • constraints/ainotebooks.environmentOptions
  • constraints/ainotebooks.requireAutoUpgradeSchedule
  • constraints/ainotebooks.restrictVpcNetworks
  • constraints/compute.disableGuestAttributesAccess
  • constraints/compute.disableInstanceDataAccessApis
  • constraints/compute.disableNestedVirtualization
  • constraints/compute.disableSerialPortAccess
  • constraints/compute.disableSerialPortLogging
  • constraints/compute.disableVpcExternalIpv6
  • constraints/compute.requireOsLogin
  • constraints/compute.requireShieldedVm
  • constraints/compute.restrictLoadBalancerCreationForTypes
  • constraints/compute.restrictProtocolForwardingCreationForTypes
  • constraints/compute.restrictXpnProjectLienRemoval
  • constraints/compute.setNewProjectDefaultToZonalDNSOnly
  • constraints/compute.skipDefaultNetworkCreation
  • constraints/compute.trustedImageProjects
  • constraints/compute.vmCanIpForward
  • constraints/compute.vmExternalIpAccess
  • constraints/gcp.detailedAuditLoggingMode
  • constraints/gcp.resourceLocations
  • constraints/iam.allowedPolicyMemberDomains
  • constraints/iam.automaticIamGrantsForDefaultServiceAccounts
  • constraints/iam.disableServiceAccountCreation
  • constraints/iam.disableServiceAccountKeyCreation
  • constraints/iam.disableServiceAccountKeyUpload
  • constraints/iam.restrictCrossProjectServiceAccountLienRemoval
  • constraints/iam.serviceAccountKeyExpiryHours
  • constraints/resourcemanager.accessBoundaries
  • constraints/resourcemanager.allowedExportDestinations
  • constraints/sql.restrictAuthorizedNetworks
  • constraints/sql.restrictNoncompliantDiagnosticDataAccess
  • constraints/sql.restrictNoncompliantResourceCreation
  • constraints/sql.restrictPublicIp
  • constraints/storage.publicAccessPrevention
  • constraints/storage.restrictAuthTypes
  • constraints/storage.uniformBucketLevelAccess

This RPC only returns either resources of types supported by search APIs or IAM policies.

Parameters
NameDescription
requestAnalyzeOrgPolicyGovernedAssetsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallAnalyzeOrgPolicyGovernedAssetsResponse

The call object.

AnalyzeOrgPolicyGovernedContainers(AnalyzeOrgPolicyGovernedContainersRequest, CallOptions)

public virtual AnalyzeOrgPolicyGovernedContainersResponse AnalyzeOrgPolicyGovernedContainers(AnalyzeOrgPolicyGovernedContainersRequest request, CallOptions options)

Analyzes organization policies governed containers (projects, folders or organization) under a scope.

Parameters
NameDescription
requestAnalyzeOrgPolicyGovernedContainersRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AnalyzeOrgPolicyGovernedContainersResponse

The response received from the server.

AnalyzeOrgPolicyGovernedContainers(AnalyzeOrgPolicyGovernedContainersRequest, Metadata, DateTime?, CancellationToken)

public virtual AnalyzeOrgPolicyGovernedContainersResponse AnalyzeOrgPolicyGovernedContainers(AnalyzeOrgPolicyGovernedContainersRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Analyzes organization policies governed containers (projects, folders or organization) under a scope.

Parameters
NameDescription
requestAnalyzeOrgPolicyGovernedContainersRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AnalyzeOrgPolicyGovernedContainersResponse

The response received from the server.

AnalyzeOrgPolicyGovernedContainersAsync(AnalyzeOrgPolicyGovernedContainersRequest, CallOptions)

public virtual AsyncUnaryCall<AnalyzeOrgPolicyGovernedContainersResponse> AnalyzeOrgPolicyGovernedContainersAsync(AnalyzeOrgPolicyGovernedContainersRequest request, CallOptions options)

Analyzes organization policies governed containers (projects, folders or organization) under a scope.

Parameters
NameDescription
requestAnalyzeOrgPolicyGovernedContainersRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallAnalyzeOrgPolicyGovernedContainersResponse

The call object.

AnalyzeOrgPolicyGovernedContainersAsync(AnalyzeOrgPolicyGovernedContainersRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<AnalyzeOrgPolicyGovernedContainersResponse> AnalyzeOrgPolicyGovernedContainersAsync(AnalyzeOrgPolicyGovernedContainersRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Analyzes organization policies governed containers (projects, folders or organization) under a scope.

Parameters
NameDescription
requestAnalyzeOrgPolicyGovernedContainersRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallAnalyzeOrgPolicyGovernedContainersResponse

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
NameDescription
requestBatchGetAssetsHistoryRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
BatchGetAssetsHistoryResponse

The response received from the server.

BatchGetAssetsHistory(BatchGetAssetsHistoryRequest, Metadata, DateTime?, CancellationToken)

public virtual BatchGetAssetsHistoryResponse BatchGetAssetsHistory(BatchGetAssetsHistoryRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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
NameDescription
requestBatchGetAssetsHistoryRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestBatchGetAssetsHistoryRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallBatchGetAssetsHistoryResponse

The call object.

BatchGetAssetsHistoryAsync(BatchGetAssetsHistoryRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<BatchGetAssetsHistoryResponse> BatchGetAssetsHistoryAsync(BatchGetAssetsHistoryRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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
NameDescription
requestBatchGetAssetsHistoryRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallBatchGetAssetsHistoryResponse

The call object.

BatchGetEffectiveIamPolicies(BatchGetEffectiveIamPoliciesRequest, CallOptions)

public virtual BatchGetEffectiveIamPoliciesResponse BatchGetEffectiveIamPolicies(BatchGetEffectiveIamPoliciesRequest request, CallOptions options)

Gets effective IAM policies for a batch of resources.

Parameters
NameDescription
requestBatchGetEffectiveIamPoliciesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
BatchGetEffectiveIamPoliciesResponse

The response received from the server.

BatchGetEffectiveIamPolicies(BatchGetEffectiveIamPoliciesRequest, Metadata, DateTime?, CancellationToken)

public virtual BatchGetEffectiveIamPoliciesResponse BatchGetEffectiveIamPolicies(BatchGetEffectiveIamPoliciesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets effective IAM policies for a batch of resources.

Parameters
NameDescription
requestBatchGetEffectiveIamPoliciesRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
BatchGetEffectiveIamPoliciesResponse

The response received from the server.

BatchGetEffectiveIamPoliciesAsync(BatchGetEffectiveIamPoliciesRequest, CallOptions)

public virtual AsyncUnaryCall<BatchGetEffectiveIamPoliciesResponse> BatchGetEffectiveIamPoliciesAsync(BatchGetEffectiveIamPoliciesRequest request, CallOptions options)

Gets effective IAM policies for a batch of resources.

Parameters
NameDescription
requestBatchGetEffectiveIamPoliciesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallBatchGetEffectiveIamPoliciesResponse

The call object.

BatchGetEffectiveIamPoliciesAsync(BatchGetEffectiveIamPoliciesRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<BatchGetEffectiveIamPoliciesResponse> BatchGetEffectiveIamPoliciesAsync(BatchGetEffectiveIamPoliciesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets effective IAM policies for a batch of resources.

Parameters
NameDescription
requestBatchGetEffectiveIamPoliciesRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallBatchGetEffectiveIamPoliciesResponse

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
NameDescription
requestCreateFeedRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Feed

The response received from the server.

CreateFeed(CreateFeedRequest, Metadata, DateTime?, CancellationToken)

public virtual Feed CreateFeed(CreateFeedRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a feed in a parent project/folder/organization to listen to its asset updates.

Parameters
NameDescription
requestCreateFeedRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestCreateFeedRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallFeed

The call object.

CreateFeedAsync(CreateFeedRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Feed> CreateFeedAsync(CreateFeedRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a feed in a parent project/folder/organization to listen to its asset updates.

Parameters
NameDescription
requestCreateFeedRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallFeed

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
TypeDescription
OperationsOperationsClient

A new Operations client for the same target as this client.

CreateSavedQuery(CreateSavedQueryRequest, CallOptions)

public virtual SavedQuery CreateSavedQuery(CreateSavedQueryRequest request, CallOptions options)

Creates a saved query in a parent project/folder/organization.

Parameters
NameDescription
requestCreateSavedQueryRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
SavedQuery

The response received from the server.

CreateSavedQuery(CreateSavedQueryRequest, Metadata, DateTime?, CancellationToken)

public virtual SavedQuery CreateSavedQuery(CreateSavedQueryRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a saved query in a parent project/folder/organization.

Parameters
NameDescription
requestCreateSavedQueryRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
SavedQuery

The response received from the server.

CreateSavedQueryAsync(CreateSavedQueryRequest, CallOptions)

public virtual AsyncUnaryCall<SavedQuery> CreateSavedQueryAsync(CreateSavedQueryRequest request, CallOptions options)

Creates a saved query in a parent project/folder/organization.

Parameters
NameDescription
requestCreateSavedQueryRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallSavedQuery

The call object.

CreateSavedQueryAsync(CreateSavedQueryRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<SavedQuery> CreateSavedQueryAsync(CreateSavedQueryRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a saved query in a parent project/folder/organization.

Parameters
NameDescription
requestCreateSavedQueryRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallSavedQuery

The call object.

DeleteFeed(DeleteFeedRequest, CallOptions)

public virtual Empty DeleteFeed(DeleteFeedRequest request, CallOptions options)

Deletes an asset feed.

Parameters
NameDescription
requestDeleteFeedRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Empty

The response received from the server.

DeleteFeed(DeleteFeedRequest, Metadata, DateTime?, CancellationToken)

public virtual Empty DeleteFeed(DeleteFeedRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes an asset feed.

Parameters
NameDescription
requestDeleteFeedRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Empty

The response received from the server.

DeleteFeedAsync(DeleteFeedRequest, CallOptions)

public virtual AsyncUnaryCall<Empty> DeleteFeedAsync(DeleteFeedRequest request, CallOptions options)

Deletes an asset feed.

Parameters
NameDescription
requestDeleteFeedRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallEmpty

The call object.

DeleteFeedAsync(DeleteFeedRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Empty> DeleteFeedAsync(DeleteFeedRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes an asset feed.

Parameters
NameDescription
requestDeleteFeedRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallEmpty

The call object.

DeleteSavedQuery(DeleteSavedQueryRequest, CallOptions)

public virtual Empty DeleteSavedQuery(DeleteSavedQueryRequest request, CallOptions options)

Deletes a saved query.

Parameters
NameDescription
requestDeleteSavedQueryRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Empty

The response received from the server.

DeleteSavedQuery(DeleteSavedQueryRequest, Metadata, DateTime?, CancellationToken)

public virtual Empty DeleteSavedQuery(DeleteSavedQueryRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes a saved query.

Parameters
NameDescription
requestDeleteSavedQueryRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Empty

The response received from the server.

DeleteSavedQueryAsync(DeleteSavedQueryRequest, CallOptions)

public virtual AsyncUnaryCall<Empty> DeleteSavedQueryAsync(DeleteSavedQueryRequest request, CallOptions options)

Deletes a saved query.

Parameters
NameDescription
requestDeleteSavedQueryRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallEmpty

The call object.

DeleteSavedQueryAsync(DeleteSavedQueryRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Empty> DeleteSavedQueryAsync(DeleteSavedQueryRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes a saved query.

Parameters
NameDescription
requestDeleteSavedQueryRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallEmpty

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 Protobuf 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
NameDescription
requestExportAssetsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

ExportAssets(ExportAssetsRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation ExportAssets(ExportAssetsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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 Protobuf 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
NameDescription
requestExportAssetsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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 Protobuf 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
NameDescription
requestExportAssetsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

ExportAssetsAsync(ExportAssetsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> ExportAssetsAsync(ExportAssetsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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 Protobuf 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
NameDescription
requestExportAssetsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

GetFeed(GetFeedRequest, CallOptions)

public virtual Feed GetFeed(GetFeedRequest request, CallOptions options)

Gets details about an asset feed.

Parameters
NameDescription
requestGetFeedRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Feed

The response received from the server.

GetFeed(GetFeedRequest, Metadata, DateTime?, CancellationToken)

public virtual Feed GetFeed(GetFeedRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets details about an asset feed.

Parameters
NameDescription
requestGetFeedRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestGetFeedRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallFeed

The call object.

GetFeedAsync(GetFeedRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Feed> GetFeedAsync(GetFeedRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets details about an asset feed.

Parameters
NameDescription
requestGetFeedRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallFeed

The call object.

GetSavedQuery(GetSavedQueryRequest, CallOptions)

public virtual SavedQuery GetSavedQuery(GetSavedQueryRequest request, CallOptions options)

Gets details about a saved query.

Parameters
NameDescription
requestGetSavedQueryRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
SavedQuery

The response received from the server.

GetSavedQuery(GetSavedQueryRequest, Metadata, DateTime?, CancellationToken)

public virtual SavedQuery GetSavedQuery(GetSavedQueryRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets details about a saved query.

Parameters
NameDescription
requestGetSavedQueryRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
SavedQuery

The response received from the server.

GetSavedQueryAsync(GetSavedQueryRequest, CallOptions)

public virtual AsyncUnaryCall<SavedQuery> GetSavedQueryAsync(GetSavedQueryRequest request, CallOptions options)

Gets details about a saved query.

Parameters
NameDescription
requestGetSavedQueryRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallSavedQuery

The call object.

GetSavedQueryAsync(GetSavedQueryRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<SavedQuery> GetSavedQueryAsync(GetSavedQueryRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets details about a saved query.

Parameters
NameDescription
requestGetSavedQueryRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallSavedQuery

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
NameDescription
requestListAssetsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListAssetsResponse

The response received from the server.

ListAssets(ListAssetsRequest, Metadata, DateTime?, CancellationToken)

public virtual ListAssetsResponse ListAssets(ListAssetsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists assets with time and resource types and returns paged results in response.

Parameters
NameDescription
requestListAssetsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestListAssetsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallListAssetsResponse

The call object.

ListAssetsAsync(ListAssetsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListAssetsResponse> ListAssetsAsync(ListAssetsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists assets with time and resource types and returns paged results in response.

Parameters
NameDescription
requestListAssetsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallListAssetsResponse

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
NameDescription
requestListFeedsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListFeedsResponse

The response received from the server.

ListFeeds(ListFeedsRequest, Metadata, DateTime?, CancellationToken)

public virtual ListFeedsResponse ListFeeds(ListFeedsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists all asset feeds in a parent project/folder/organization.

Parameters
NameDescription
requestListFeedsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestListFeedsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallListFeedsResponse

The call object.

ListFeedsAsync(ListFeedsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListFeedsResponse> ListFeedsAsync(ListFeedsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists all asset feeds in a parent project/folder/organization.

Parameters
NameDescription
requestListFeedsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallListFeedsResponse

The call object.

ListSavedQueries(ListSavedQueriesRequest, CallOptions)

public virtual ListSavedQueriesResponse ListSavedQueries(ListSavedQueriesRequest request, CallOptions options)

Lists all saved queries in a parent project/folder/organization.

Parameters
NameDescription
requestListSavedQueriesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListSavedQueriesResponse

The response received from the server.

ListSavedQueries(ListSavedQueriesRequest, Metadata, DateTime?, CancellationToken)

public virtual ListSavedQueriesResponse ListSavedQueries(ListSavedQueriesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists all saved queries in a parent project/folder/organization.

Parameters
NameDescription
requestListSavedQueriesRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
ListSavedQueriesResponse

The response received from the server.

ListSavedQueriesAsync(ListSavedQueriesRequest, CallOptions)

public virtual AsyncUnaryCall<ListSavedQueriesResponse> ListSavedQueriesAsync(ListSavedQueriesRequest request, CallOptions options)

Lists all saved queries in a parent project/folder/organization.

Parameters
NameDescription
requestListSavedQueriesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallListSavedQueriesResponse

The call object.

ListSavedQueriesAsync(ListSavedQueriesRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListSavedQueriesResponse> ListSavedQueriesAsync(ListSavedQueriesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists all saved queries in a parent project/folder/organization.

Parameters
NameDescription
requestListSavedQueriesRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallListSavedQueriesResponse

The call object.

NewInstance(ClientBaseConfiguration)

protected override AssetService.AssetServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration
Returns
TypeDescription
AssetServiceAssetServiceClient
Overrides

QueryAssets(QueryAssetsRequest, CallOptions)

public virtual QueryAssetsResponse QueryAssets(QueryAssetsRequest request, CallOptions options)

Issue a job that queries assets using a SQL statement compatible with BigQuery SQL.

If the query execution finishes within timeout and there's no pagination, the full query results will be returned in the QueryAssetsResponse.

Otherwise, full query results can be obtained by issuing extra requests with the job_reference from the a previous QueryAssets call.

Note, the query result has approximately 10 GB limitation enforced by BigQuery. Queries return larger results will result in errors.

Parameters
NameDescription
requestQueryAssetsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
QueryAssetsResponse

The response received from the server.

QueryAssets(QueryAssetsRequest, Metadata, DateTime?, CancellationToken)

public virtual QueryAssetsResponse QueryAssets(QueryAssetsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Issue a job that queries assets using a SQL statement compatible with BigQuery SQL.

If the query execution finishes within timeout and there's no pagination, the full query results will be returned in the QueryAssetsResponse.

Otherwise, full query results can be obtained by issuing extra requests with the job_reference from the a previous QueryAssets call.

Note, the query result has approximately 10 GB limitation enforced by BigQuery. Queries return larger results will result in errors.

Parameters
NameDescription
requestQueryAssetsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
QueryAssetsResponse

The response received from the server.

QueryAssetsAsync(QueryAssetsRequest, CallOptions)

public virtual AsyncUnaryCall<QueryAssetsResponse> QueryAssetsAsync(QueryAssetsRequest request, CallOptions options)

Issue a job that queries assets using a SQL statement compatible with BigQuery SQL.

If the query execution finishes within timeout and there's no pagination, the full query results will be returned in the QueryAssetsResponse.

Otherwise, full query results can be obtained by issuing extra requests with the job_reference from the a previous QueryAssets call.

Note, the query result has approximately 10 GB limitation enforced by BigQuery. Queries return larger results will result in errors.

Parameters
NameDescription
requestQueryAssetsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallQueryAssetsResponse

The call object.

QueryAssetsAsync(QueryAssetsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<QueryAssetsResponse> QueryAssetsAsync(QueryAssetsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Issue a job that queries assets using a SQL statement compatible with BigQuery SQL.

If the query execution finishes within timeout and there's no pagination, the full query results will be returned in the QueryAssetsResponse.

Otherwise, full query results can be obtained by issuing extra requests with the job_reference from the a previous QueryAssets call.

Note, the query result has approximately 10 GB limitation enforced by BigQuery. Queries return larger results will result in errors.

Parameters
NameDescription
requestQueryAssetsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallQueryAssetsResponse

The call object.

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
NameDescription
requestSearchAllIamPoliciesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
SearchAllIamPoliciesResponse

The response received from the server.

SearchAllIamPolicies(SearchAllIamPoliciesRequest, Metadata, DateTime?, CancellationToken)

public virtual SearchAllIamPoliciesResponse SearchAllIamPolicies(SearchAllIamPoliciesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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
NameDescription
requestSearchAllIamPoliciesRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestSearchAllIamPoliciesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallSearchAllIamPoliciesResponse

The call object.

SearchAllIamPoliciesAsync(SearchAllIamPoliciesRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<SearchAllIamPoliciesResponse> SearchAllIamPoliciesAsync(SearchAllIamPoliciesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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
NameDescription
requestSearchAllIamPoliciesRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallSearchAllIamPoliciesResponse

The call object.

SearchAllResources(SearchAllResourcesRequest, CallOptions)

public virtual SearchAllResourcesResponse SearchAllResources(SearchAllResourcesRequest request, CallOptions options)

Searches all Google 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
NameDescription
requestSearchAllResourcesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
SearchAllResourcesResponse

The response received from the server.

SearchAllResources(SearchAllResourcesRequest, Metadata, DateTime?, CancellationToken)

public virtual SearchAllResourcesResponse SearchAllResources(SearchAllResourcesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Searches all Google 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
NameDescription
requestSearchAllResourcesRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
SearchAllResourcesResponse

The response received from the server.

SearchAllResourcesAsync(SearchAllResourcesRequest, CallOptions)

public virtual AsyncUnaryCall<SearchAllResourcesResponse> SearchAllResourcesAsync(SearchAllResourcesRequest request, CallOptions options)

Searches all Google 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
NameDescription
requestSearchAllResourcesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallSearchAllResourcesResponse

The call object.

SearchAllResourcesAsync(SearchAllResourcesRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<SearchAllResourcesResponse> SearchAllResourcesAsync(SearchAllResourcesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Searches all Google 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
NameDescription
requestSearchAllResourcesRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallSearchAllResourcesResponse

The call object.

UpdateFeed(UpdateFeedRequest, CallOptions)

public virtual Feed UpdateFeed(UpdateFeedRequest request, CallOptions options)

Updates an asset feed configuration.

Parameters
NameDescription
requestUpdateFeedRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Feed

The response received from the server.

UpdateFeed(UpdateFeedRequest, Metadata, DateTime?, CancellationToken)

public virtual Feed UpdateFeed(UpdateFeedRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Updates an asset feed configuration.

Parameters
NameDescription
requestUpdateFeedRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestUpdateFeedRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallFeed

The call object.

UpdateFeedAsync(UpdateFeedRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Feed> UpdateFeedAsync(UpdateFeedRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Updates an asset feed configuration.

Parameters
NameDescription
requestUpdateFeedRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallFeed

The call object.

UpdateSavedQuery(UpdateSavedQueryRequest, CallOptions)

public virtual SavedQuery UpdateSavedQuery(UpdateSavedQueryRequest request, CallOptions options)

Updates a saved query.

Parameters
NameDescription
requestUpdateSavedQueryRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
SavedQuery

The response received from the server.

UpdateSavedQuery(UpdateSavedQueryRequest, Metadata, DateTime?, CancellationToken)

public virtual SavedQuery UpdateSavedQuery(UpdateSavedQueryRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Updates a saved query.

Parameters
NameDescription
requestUpdateSavedQueryRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
SavedQuery

The response received from the server.

UpdateSavedQueryAsync(UpdateSavedQueryRequest, CallOptions)

public virtual AsyncUnaryCall<SavedQuery> UpdateSavedQueryAsync(UpdateSavedQueryRequest request, CallOptions options)

Updates a saved query.

Parameters
NameDescription
requestUpdateSavedQueryRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallSavedQuery

The call object.

UpdateSavedQueryAsync(UpdateSavedQueryRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<SavedQuery> UpdateSavedQueryAsync(UpdateSavedQueryRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Updates a saved query.

Parameters
NameDescription
requestUpdateSavedQueryRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallSavedQuery

The call object.