Infrastructure Manager v1 API - Class Config.ConfigClient (1.0.0-beta01)

public class Config.ConfigClient : ClientBase<Config.ConfigClient>

Reference documentation and code samples for the Infrastructure Manager v1 API class Config.ConfigClient.

Client for Config

Inheritance

object > ClientBase > ClientBaseConfigConfigClient > Config.ConfigClient

Namespace

Google.Cloud.Config.V1

Assembly

Google.Cloud.Config.V1.dll

Constructors

ConfigClient()

protected ConfigClient()

Protected parameterless constructor to allow creation of test doubles.

ConfigClient(CallInvoker)

public ConfigClient(CallInvoker callInvoker)

Creates a new client for Config that uses a custom CallInvoker.

Parameter
NameDescription
callInvokerCallInvoker

The callInvoker to use to make remote calls.

ConfigClient(ChannelBase)

public ConfigClient(ChannelBase channel)

Creates a new client for Config

Parameter
NameDescription
channelChannelBase

The channel to use to make remote calls.

ConfigClient(ClientBaseConfiguration)

protected ConfigClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration

The client configuration.

Methods

CreateDeployment(CreateDeploymentRequest, CallOptions)

public virtual Operation CreateDeployment(CreateDeploymentRequest request, CallOptions options)

Creates a [Deployment][google.cloud.config.v1.Deployment].

Parameters
NameDescription
requestCreateDeploymentRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

CreateDeployment(CreateDeploymentRequest, Metadata, DateTime?, CancellationToken)

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

Creates a [Deployment][google.cloud.config.v1.Deployment].

Parameters
NameDescription
requestCreateDeploymentRequest

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.

CreateDeploymentAsync(CreateDeploymentRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> CreateDeploymentAsync(CreateDeploymentRequest request, CallOptions options)

Creates a [Deployment][google.cloud.config.v1.Deployment].

Parameters
NameDescription
requestCreateDeploymentRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

CreateDeploymentAsync(CreateDeploymentRequest, Metadata, DateTime?, CancellationToken)

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

Creates a [Deployment][google.cloud.config.v1.Deployment].

Parameters
NameDescription
requestCreateDeploymentRequest

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.

CreateIAMPolicyClient()

public virtual IAMPolicy.IAMPolicyClient CreateIAMPolicyClient()

Creates a new instance of IAMPolicy.IAMPolicyClient using the same call invoker as this client.

Returns
TypeDescription
IAMPolicyIAMPolicyClient

A new IAMPolicy.IAMPolicyClient for the same target as this client.

CreateLocationsClient()

public virtual Locations.LocationsClient CreateLocationsClient()

Creates a new instance of Locations.LocationsClient using the same call invoker as this client.

Returns
TypeDescription
LocationsLocationsClient

A new Locations.LocationsClient for the same target as this client.

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.

DeleteDeployment(DeleteDeploymentRequest, CallOptions)

public virtual Operation DeleteDeployment(DeleteDeploymentRequest request, CallOptions options)

Deletes a [Deployment][google.cloud.config.v1.Deployment].

Parameters
NameDescription
requestDeleteDeploymentRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

DeleteDeployment(DeleteDeploymentRequest, Metadata, DateTime?, CancellationToken)

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

Deletes a [Deployment][google.cloud.config.v1.Deployment].

Parameters
NameDescription
requestDeleteDeploymentRequest

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.

DeleteDeploymentAsync(DeleteDeploymentRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> DeleteDeploymentAsync(DeleteDeploymentRequest request, CallOptions options)

Deletes a [Deployment][google.cloud.config.v1.Deployment].

Parameters
NameDescription
requestDeleteDeploymentRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

DeleteDeploymentAsync(DeleteDeploymentRequest, Metadata, DateTime?, CancellationToken)

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

Deletes a [Deployment][google.cloud.config.v1.Deployment].

Parameters
NameDescription
requestDeleteDeploymentRequest

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.

DeleteStatefile(DeleteStatefileRequest, CallOptions)

public virtual Empty DeleteStatefile(DeleteStatefileRequest request, CallOptions options)

Deletes Terraform state file in a given deployment.

Parameters
NameDescription
requestDeleteStatefileRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Empty

The response received from the server.

DeleteStatefile(DeleteStatefileRequest, Metadata, DateTime?, CancellationToken)

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

Deletes Terraform state file in a given deployment.

Parameters
NameDescription
requestDeleteStatefileRequest

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.

DeleteStatefileAsync(DeleteStatefileRequest, CallOptions)

public virtual AsyncUnaryCall<Empty> DeleteStatefileAsync(DeleteStatefileRequest request, CallOptions options)

Deletes Terraform state file in a given deployment.

Parameters
NameDescription
requestDeleteStatefileRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallEmpty

The call object.

DeleteStatefileAsync(DeleteStatefileRequest, Metadata, DateTime?, CancellationToken)

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

Deletes Terraform state file in a given deployment.

Parameters
NameDescription
requestDeleteStatefileRequest

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.

ExportDeploymentStatefile(ExportDeploymentStatefileRequest, CallOptions)

public virtual Statefile ExportDeploymentStatefile(ExportDeploymentStatefileRequest request, CallOptions options)

Exports Terraform state file from a given deployment.

Parameters
NameDescription
requestExportDeploymentStatefileRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Statefile

The response received from the server.

ExportDeploymentStatefile(ExportDeploymentStatefileRequest, Metadata, DateTime?, CancellationToken)

public virtual Statefile ExportDeploymentStatefile(ExportDeploymentStatefileRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Exports Terraform state file from a given deployment.

Parameters
NameDescription
requestExportDeploymentStatefileRequest

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
Statefile

The response received from the server.

ExportDeploymentStatefileAsync(ExportDeploymentStatefileRequest, CallOptions)

public virtual AsyncUnaryCall<Statefile> ExportDeploymentStatefileAsync(ExportDeploymentStatefileRequest request, CallOptions options)

Exports Terraform state file from a given deployment.

Parameters
NameDescription
requestExportDeploymentStatefileRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallStatefile

The call object.

ExportDeploymentStatefileAsync(ExportDeploymentStatefileRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Statefile> ExportDeploymentStatefileAsync(ExportDeploymentStatefileRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Exports Terraform state file from a given deployment.

Parameters
NameDescription
requestExportDeploymentStatefileRequest

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
AsyncUnaryCallStatefile

The call object.

ExportLockInfo(ExportLockInfoRequest, CallOptions)

public virtual LockInfo ExportLockInfo(ExportLockInfoRequest request, CallOptions options)

Exports the lock info on a locked deployment.

Parameters
NameDescription
requestExportLockInfoRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
LockInfo

The response received from the server.

ExportLockInfo(ExportLockInfoRequest, Metadata, DateTime?, CancellationToken)

public virtual LockInfo ExportLockInfo(ExportLockInfoRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Exports the lock info on a locked deployment.

Parameters
NameDescription
requestExportLockInfoRequest

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
LockInfo

The response received from the server.

ExportLockInfoAsync(ExportLockInfoRequest, CallOptions)

public virtual AsyncUnaryCall<LockInfo> ExportLockInfoAsync(ExportLockInfoRequest request, CallOptions options)

Exports the lock info on a locked deployment.

Parameters
NameDescription
requestExportLockInfoRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallLockInfo

The call object.

ExportLockInfoAsync(ExportLockInfoRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<LockInfo> ExportLockInfoAsync(ExportLockInfoRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Exports the lock info on a locked deployment.

Parameters
NameDescription
requestExportLockInfoRequest

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
AsyncUnaryCallLockInfo

The call object.

ExportRevisionStatefile(ExportRevisionStatefileRequest, CallOptions)

public virtual Statefile ExportRevisionStatefile(ExportRevisionStatefileRequest request, CallOptions options)

Exports Terraform state file from a given revision.

Parameters
NameDescription
requestExportRevisionStatefileRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Statefile

The response received from the server.

ExportRevisionStatefile(ExportRevisionStatefileRequest, Metadata, DateTime?, CancellationToken)

public virtual Statefile ExportRevisionStatefile(ExportRevisionStatefileRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Exports Terraform state file from a given revision.

Parameters
NameDescription
requestExportRevisionStatefileRequest

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
Statefile

The response received from the server.

ExportRevisionStatefileAsync(ExportRevisionStatefileRequest, CallOptions)

public virtual AsyncUnaryCall<Statefile> ExportRevisionStatefileAsync(ExportRevisionStatefileRequest request, CallOptions options)

Exports Terraform state file from a given revision.

Parameters
NameDescription
requestExportRevisionStatefileRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallStatefile

The call object.

ExportRevisionStatefileAsync(ExportRevisionStatefileRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Statefile> ExportRevisionStatefileAsync(ExportRevisionStatefileRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Exports Terraform state file from a given revision.

Parameters
NameDescription
requestExportRevisionStatefileRequest

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
AsyncUnaryCallStatefile

The call object.

GetDeployment(GetDeploymentRequest, CallOptions)

public virtual Deployment GetDeployment(GetDeploymentRequest request, CallOptions options)

Gets details about a [Deployment][google.cloud.config.v1.Deployment].

Parameters
NameDescription
requestGetDeploymentRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Deployment

The response received from the server.

GetDeployment(GetDeploymentRequest, Metadata, DateTime?, CancellationToken)

public virtual Deployment GetDeployment(GetDeploymentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets details about a [Deployment][google.cloud.config.v1.Deployment].

Parameters
NameDescription
requestGetDeploymentRequest

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
Deployment

The response received from the server.

GetDeploymentAsync(GetDeploymentRequest, CallOptions)

public virtual AsyncUnaryCall<Deployment> GetDeploymentAsync(GetDeploymentRequest request, CallOptions options)

Gets details about a [Deployment][google.cloud.config.v1.Deployment].

Parameters
NameDescription
requestGetDeploymentRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallDeployment

The call object.

GetDeploymentAsync(GetDeploymentRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Deployment> GetDeploymentAsync(GetDeploymentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets details about a [Deployment][google.cloud.config.v1.Deployment].

Parameters
NameDescription
requestGetDeploymentRequest

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
AsyncUnaryCallDeployment

The call object.

GetResource(GetResourceRequest, CallOptions)

public virtual Resource GetResource(GetResourceRequest request, CallOptions options)

Gets details about a [Resource][google.cloud.config.v1.Resource] deployed by Infra Manager.

Parameters
NameDescription
requestGetResourceRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Resource

The response received from the server.

GetResource(GetResourceRequest, Metadata, DateTime?, CancellationToken)

public virtual Resource GetResource(GetResourceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets details about a [Resource][google.cloud.config.v1.Resource] deployed by Infra Manager.

Parameters
NameDescription
requestGetResourceRequest

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
Resource

The response received from the server.

GetResourceAsync(GetResourceRequest, CallOptions)

public virtual AsyncUnaryCall<Resource> GetResourceAsync(GetResourceRequest request, CallOptions options)

Gets details about a [Resource][google.cloud.config.v1.Resource] deployed by Infra Manager.

Parameters
NameDescription
requestGetResourceRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallResource

The call object.

GetResourceAsync(GetResourceRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Resource> GetResourceAsync(GetResourceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets details about a [Resource][google.cloud.config.v1.Resource] deployed by Infra Manager.

Parameters
NameDescription
requestGetResourceRequest

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
AsyncUnaryCallResource

The call object.

GetRevision(GetRevisionRequest, CallOptions)

public virtual Revision GetRevision(GetRevisionRequest request, CallOptions options)

Gets details about a [Revision][google.cloud.config.v1.Revision].

Parameters
NameDescription
requestGetRevisionRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Revision

The response received from the server.

GetRevision(GetRevisionRequest, Metadata, DateTime?, CancellationToken)

public virtual Revision GetRevision(GetRevisionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets details about a [Revision][google.cloud.config.v1.Revision].

Parameters
NameDescription
requestGetRevisionRequest

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
Revision

The response received from the server.

GetRevisionAsync(GetRevisionRequest, CallOptions)

public virtual AsyncUnaryCall<Revision> GetRevisionAsync(GetRevisionRequest request, CallOptions options)

Gets details about a [Revision][google.cloud.config.v1.Revision].

Parameters
NameDescription
requestGetRevisionRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallRevision

The call object.

GetRevisionAsync(GetRevisionRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Revision> GetRevisionAsync(GetRevisionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets details about a [Revision][google.cloud.config.v1.Revision].

Parameters
NameDescription
requestGetRevisionRequest

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
AsyncUnaryCallRevision

The call object.

ImportStatefile(ImportStatefileRequest, CallOptions)

public virtual Statefile ImportStatefile(ImportStatefileRequest request, CallOptions options)

Imports Terraform state file in a given deployment. The state file does not take effect until the Deployment has been unlocked.

Parameters
NameDescription
requestImportStatefileRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Statefile

The response received from the server.

ImportStatefile(ImportStatefileRequest, Metadata, DateTime?, CancellationToken)

public virtual Statefile ImportStatefile(ImportStatefileRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Imports Terraform state file in a given deployment. The state file does not take effect until the Deployment has been unlocked.

Parameters
NameDescription
requestImportStatefileRequest

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
Statefile

The response received from the server.

ImportStatefileAsync(ImportStatefileRequest, CallOptions)

public virtual AsyncUnaryCall<Statefile> ImportStatefileAsync(ImportStatefileRequest request, CallOptions options)

Imports Terraform state file in a given deployment. The state file does not take effect until the Deployment has been unlocked.

Parameters
NameDescription
requestImportStatefileRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallStatefile

The call object.

ImportStatefileAsync(ImportStatefileRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Statefile> ImportStatefileAsync(ImportStatefileRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Imports Terraform state file in a given deployment. The state file does not take effect until the Deployment has been unlocked.

Parameters
NameDescription
requestImportStatefileRequest

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
AsyncUnaryCallStatefile

The call object.

ListDeployments(ListDeploymentsRequest, CallOptions)

public virtual ListDeploymentsResponse ListDeployments(ListDeploymentsRequest request, CallOptions options)

Lists [Deployment][google.cloud.config.v1.Deployment]s in a given project and location.

Parameters
NameDescription
requestListDeploymentsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListDeploymentsResponse

The response received from the server.

ListDeployments(ListDeploymentsRequest, Metadata, DateTime?, CancellationToken)

public virtual ListDeploymentsResponse ListDeployments(ListDeploymentsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists [Deployment][google.cloud.config.v1.Deployment]s in a given project and location.

Parameters
NameDescription
requestListDeploymentsRequest

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
ListDeploymentsResponse

The response received from the server.

ListDeploymentsAsync(ListDeploymentsRequest, CallOptions)

public virtual AsyncUnaryCall<ListDeploymentsResponse> ListDeploymentsAsync(ListDeploymentsRequest request, CallOptions options)

Lists [Deployment][google.cloud.config.v1.Deployment]s in a given project and location.

Parameters
NameDescription
requestListDeploymentsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallListDeploymentsResponse

The call object.

ListDeploymentsAsync(ListDeploymentsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListDeploymentsResponse> ListDeploymentsAsync(ListDeploymentsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists [Deployment][google.cloud.config.v1.Deployment]s in a given project and location.

Parameters
NameDescription
requestListDeploymentsRequest

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
AsyncUnaryCallListDeploymentsResponse

The call object.

ListResources(ListResourcesRequest, CallOptions)

public virtual ListResourcesResponse ListResources(ListResourcesRequest request, CallOptions options)

Lists [Resource][google.cloud.config.v1.Resource]s in a given revision.

Parameters
NameDescription
requestListResourcesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListResourcesResponse

The response received from the server.

ListResources(ListResourcesRequest, Metadata, DateTime?, CancellationToken)

public virtual ListResourcesResponse ListResources(ListResourcesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists [Resource][google.cloud.config.v1.Resource]s in a given revision.

Parameters
NameDescription
requestListResourcesRequest

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
ListResourcesResponse

The response received from the server.

ListResourcesAsync(ListResourcesRequest, CallOptions)

public virtual AsyncUnaryCall<ListResourcesResponse> ListResourcesAsync(ListResourcesRequest request, CallOptions options)

Lists [Resource][google.cloud.config.v1.Resource]s in a given revision.

Parameters
NameDescription
requestListResourcesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallListResourcesResponse

The call object.

ListResourcesAsync(ListResourcesRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListResourcesResponse> ListResourcesAsync(ListResourcesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists [Resource][google.cloud.config.v1.Resource]s in a given revision.

Parameters
NameDescription
requestListResourcesRequest

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
AsyncUnaryCallListResourcesResponse

The call object.

ListRevisions(ListRevisionsRequest, CallOptions)

public virtual ListRevisionsResponse ListRevisions(ListRevisionsRequest request, CallOptions options)

Lists [Revision][google.cloud.config.v1.Revision]s of a deployment.

Parameters
NameDescription
requestListRevisionsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListRevisionsResponse

The response received from the server.

ListRevisions(ListRevisionsRequest, Metadata, DateTime?, CancellationToken)

public virtual ListRevisionsResponse ListRevisions(ListRevisionsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists [Revision][google.cloud.config.v1.Revision]s of a deployment.

Parameters
NameDescription
requestListRevisionsRequest

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
ListRevisionsResponse

The response received from the server.

ListRevisionsAsync(ListRevisionsRequest, CallOptions)

public virtual AsyncUnaryCall<ListRevisionsResponse> ListRevisionsAsync(ListRevisionsRequest request, CallOptions options)

Lists [Revision][google.cloud.config.v1.Revision]s of a deployment.

Parameters
NameDescription
requestListRevisionsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallListRevisionsResponse

The call object.

ListRevisionsAsync(ListRevisionsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListRevisionsResponse> ListRevisionsAsync(ListRevisionsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists [Revision][google.cloud.config.v1.Revision]s of a deployment.

Parameters
NameDescription
requestListRevisionsRequest

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
AsyncUnaryCallListRevisionsResponse

The call object.

LockDeployment(LockDeploymentRequest, CallOptions)

public virtual Operation LockDeployment(LockDeploymentRequest request, CallOptions options)

Locks a deployment.

Parameters
NameDescription
requestLockDeploymentRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

LockDeployment(LockDeploymentRequest, Metadata, DateTime?, CancellationToken)

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

Locks a deployment.

Parameters
NameDescription
requestLockDeploymentRequest

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.

LockDeploymentAsync(LockDeploymentRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> LockDeploymentAsync(LockDeploymentRequest request, CallOptions options)

Locks a deployment.

Parameters
NameDescription
requestLockDeploymentRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

LockDeploymentAsync(LockDeploymentRequest, Metadata, DateTime?, CancellationToken)

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

Locks a deployment.

Parameters
NameDescription
requestLockDeploymentRequest

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.

NewInstance(ClientBaseConfiguration)

protected override Config.ConfigClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration
Returns
TypeDescription
ConfigConfigClient
Overrides

UnlockDeployment(UnlockDeploymentRequest, CallOptions)

public virtual Operation UnlockDeployment(UnlockDeploymentRequest request, CallOptions options)

Unlocks a locked deployment.

Parameters
NameDescription
requestUnlockDeploymentRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

UnlockDeployment(UnlockDeploymentRequest, Metadata, DateTime?, CancellationToken)

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

Unlocks a locked deployment.

Parameters
NameDescription
requestUnlockDeploymentRequest

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.

UnlockDeploymentAsync(UnlockDeploymentRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> UnlockDeploymentAsync(UnlockDeploymentRequest request, CallOptions options)

Unlocks a locked deployment.

Parameters
NameDescription
requestUnlockDeploymentRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

UnlockDeploymentAsync(UnlockDeploymentRequest, Metadata, DateTime?, CancellationToken)

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

Unlocks a locked deployment.

Parameters
NameDescription
requestUnlockDeploymentRequest

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.

UpdateDeployment(UpdateDeploymentRequest, CallOptions)

public virtual Operation UpdateDeployment(UpdateDeploymentRequest request, CallOptions options)

Updates a [Deployment][google.cloud.config.v1.Deployment].

Parameters
NameDescription
requestUpdateDeploymentRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

UpdateDeployment(UpdateDeploymentRequest, Metadata, DateTime?, CancellationToken)

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

Updates a [Deployment][google.cloud.config.v1.Deployment].

Parameters
NameDescription
requestUpdateDeploymentRequest

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.

UpdateDeploymentAsync(UpdateDeploymentRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> UpdateDeploymentAsync(UpdateDeploymentRequest request, CallOptions options)

Updates a [Deployment][google.cloud.config.v1.Deployment].

Parameters
NameDescription
requestUpdateDeploymentRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

UpdateDeploymentAsync(UpdateDeploymentRequest, Metadata, DateTime?, CancellationToken)

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

Updates a [Deployment][google.cloud.config.v1.Deployment].

Parameters
NameDescription
requestUpdateDeploymentRequest

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.