Google Workspace Add-ons v1 API - Class GSuiteAddOns.GSuiteAddOnsClient (2.1.0)

public class GSuiteAddOns.GSuiteAddOnsClient : ClientBase<GSuiteAddOns.GSuiteAddOnsClient>

Reference documentation and code samples for the Google Workspace Add-ons v1 API class GSuiteAddOns.GSuiteAddOnsClient.

Client for GSuiteAddOns

Inheritance

object > ClientBase > ClientBaseGSuiteAddOnsGSuiteAddOnsClient > GSuiteAddOns.GSuiteAddOnsClient

Namespace

GoogleGoogle.CloudGoogle.Cloud.GSuiteAddOnsV1

Assembly

Google.Cloud.GSuiteAddOns.V1.dll

Constructors

GSuiteAddOnsClient()

protected GSuiteAddOnsClient()

Protected parameterless constructor to allow creation of test doubles.

GSuiteAddOnsClient(CallInvoker)

public GSuiteAddOnsClient(CallInvoker callInvoker)

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

Parameter
NameDescription
callInvokerCallInvoker

The callInvoker to use to make remote calls.

GSuiteAddOnsClient(ChannelBase)

public GSuiteAddOnsClient(ChannelBase channel)

Creates a new client for GSuiteAddOns

Parameter
NameDescription
channelChannelBase

The channel to use to make remote calls.

GSuiteAddOnsClient(ClientBaseConfiguration)

protected GSuiteAddOnsClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration

The client configuration.

Methods

CreateDeployment(CreateDeploymentRequest, CallOptions)

public virtual Deployment CreateDeployment(CreateDeploymentRequest request, CallOptions options)

Creates a deployment with the specified name and configuration.

Parameters
NameDescription
requestCreateDeploymentRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Deployment

The response received from the server.

CreateDeployment(CreateDeploymentRequest, Metadata, DateTime?, CancellationToken)

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

Creates a deployment with the specified name and configuration.

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
Deployment

The response received from the server.

CreateDeploymentAsync(CreateDeploymentRequest, CallOptions)

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

Creates a deployment with the specified name and configuration.

Parameters
NameDescription
requestCreateDeploymentRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallDeployment

The call object.

CreateDeploymentAsync(CreateDeploymentRequest, Metadata, DateTime?, CancellationToken)

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

Creates a deployment with the specified name and configuration.

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
AsyncUnaryCallDeployment

The call object.

DeleteDeployment(DeleteDeploymentRequest, CallOptions)

public virtual Empty DeleteDeployment(DeleteDeploymentRequest request, CallOptions options)

Deletes the deployment with the given name.

Parameters
NameDescription
requestDeleteDeploymentRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Empty

The response received from the server.

DeleteDeployment(DeleteDeploymentRequest, Metadata, DateTime?, CancellationToken)

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

Deletes the deployment with the given name.

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
Empty

The response received from the server.

DeleteDeploymentAsync(DeleteDeploymentRequest, CallOptions)

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

Deletes the deployment with the given name.

Parameters
NameDescription
requestDeleteDeploymentRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallEmpty

The call object.

DeleteDeploymentAsync(DeleteDeploymentRequest, Metadata, DateTime?, CancellationToken)

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

Deletes the deployment with the given name.

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
AsyncUnaryCallEmpty

The call object.

GetAuthorization(GetAuthorizationRequest, CallOptions)

public virtual Authorization GetAuthorization(GetAuthorizationRequest request, CallOptions options)

Gets the authorization information for deployments in a given project.

Parameters
NameDescription
requestGetAuthorizationRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Authorization

The response received from the server.

GetAuthorization(GetAuthorizationRequest, Metadata, DateTime?, CancellationToken)

public virtual Authorization GetAuthorization(GetAuthorizationRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets the authorization information for deployments in a given project.

Parameters
NameDescription
requestGetAuthorizationRequest

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
Authorization

The response received from the server.

GetAuthorizationAsync(GetAuthorizationRequest, CallOptions)

public virtual AsyncUnaryCall<Authorization> GetAuthorizationAsync(GetAuthorizationRequest request, CallOptions options)

Gets the authorization information for deployments in a given project.

Parameters
NameDescription
requestGetAuthorizationRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallAuthorization

The call object.

GetAuthorizationAsync(GetAuthorizationRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Authorization> GetAuthorizationAsync(GetAuthorizationRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets the authorization information for deployments in a given project.

Parameters
NameDescription
requestGetAuthorizationRequest

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
AsyncUnaryCallAuthorization

The call object.

GetDeployment(GetDeploymentRequest, CallOptions)

public virtual Deployment GetDeployment(GetDeploymentRequest request, CallOptions options)

Gets the deployment with the specified name.

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 the deployment with the specified name.

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 the deployment with the specified name.

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 the deployment with the specified name.

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.

GetInstallStatus(GetInstallStatusRequest, CallOptions)

public virtual InstallStatus GetInstallStatus(GetInstallStatusRequest request, CallOptions options)

Fetches the install status of a developer mode deployment.

Parameters
NameDescription
requestGetInstallStatusRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
InstallStatus

The response received from the server.

GetInstallStatus(GetInstallStatusRequest, Metadata, DateTime?, CancellationToken)

public virtual InstallStatus GetInstallStatus(GetInstallStatusRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Fetches the install status of a developer mode deployment.

Parameters
NameDescription
requestGetInstallStatusRequest

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
InstallStatus

The response received from the server.

GetInstallStatusAsync(GetInstallStatusRequest, CallOptions)

public virtual AsyncUnaryCall<InstallStatus> GetInstallStatusAsync(GetInstallStatusRequest request, CallOptions options)

Fetches the install status of a developer mode deployment.

Parameters
NameDescription
requestGetInstallStatusRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallInstallStatus

The call object.

GetInstallStatusAsync(GetInstallStatusRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<InstallStatus> GetInstallStatusAsync(GetInstallStatusRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Fetches the install status of a developer mode deployment.

Parameters
NameDescription
requestGetInstallStatusRequest

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
AsyncUnaryCallInstallStatus

The call object.

InstallDeployment(InstallDeploymentRequest, CallOptions)

public virtual Empty InstallDeployment(InstallDeploymentRequest request, CallOptions options)
Parameters
NameDescription
requestInstallDeploymentRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Empty

The response received from the server.

InstallDeployment(InstallDeploymentRequest, Metadata, DateTime?, CancellationToken)

public virtual Empty InstallDeployment(InstallDeploymentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
NameDescription
requestInstallDeploymentRequest

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.

InstallDeploymentAsync(InstallDeploymentRequest, CallOptions)

public virtual AsyncUnaryCall<Empty> InstallDeploymentAsync(InstallDeploymentRequest request, CallOptions options)
Parameters
NameDescription
requestInstallDeploymentRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallEmpty

The call object.

InstallDeploymentAsync(InstallDeploymentRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Empty> InstallDeploymentAsync(InstallDeploymentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
NameDescription
requestInstallDeploymentRequest

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.

ListDeployments(ListDeploymentsRequest, CallOptions)

public virtual ListDeploymentsResponse ListDeployments(ListDeploymentsRequest request, CallOptions options)

Lists all deployments in a particular project.

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 all deployments in a particular project.

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 all deployments in a particular project.

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 all deployments in a particular project.

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.

NewInstance(ClientBaseConfiguration)

protected override GSuiteAddOns.GSuiteAddOnsClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration
Returns
TypeDescription
GSuiteAddOnsGSuiteAddOnsClient
Overrides
Grpc.Core.ClientBase<Google.Cloud.GSuiteAddOns.V1.GSuiteAddOns.GSuiteAddOnsClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)

ReplaceDeployment(ReplaceDeploymentRequest, CallOptions)

public virtual Deployment ReplaceDeployment(ReplaceDeploymentRequest request, CallOptions options)

Creates or replaces a deployment with the specified name.

Parameters
NameDescription
requestReplaceDeploymentRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Deployment

The response received from the server.

ReplaceDeployment(ReplaceDeploymentRequest, Metadata, DateTime?, CancellationToken)

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

Creates or replaces a deployment with the specified name.

Parameters
NameDescription
requestReplaceDeploymentRequest

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.

ReplaceDeploymentAsync(ReplaceDeploymentRequest, CallOptions)

public virtual AsyncUnaryCall<Deployment> ReplaceDeploymentAsync(ReplaceDeploymentRequest request, CallOptions options)

Creates or replaces a deployment with the specified name.

Parameters
NameDescription
requestReplaceDeploymentRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallDeployment

The call object.

ReplaceDeploymentAsync(ReplaceDeploymentRequest, Metadata, DateTime?, CancellationToken)

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

Creates or replaces a deployment with the specified name.

Parameters
NameDescription
requestReplaceDeploymentRequest

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.

UninstallDeployment(UninstallDeploymentRequest, CallOptions)

public virtual Empty UninstallDeployment(UninstallDeploymentRequest request, CallOptions options)
Parameters
NameDescription
requestUninstallDeploymentRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Empty

The response received from the server.

UninstallDeployment(UninstallDeploymentRequest, Metadata, DateTime?, CancellationToken)

public virtual Empty UninstallDeployment(UninstallDeploymentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
NameDescription
requestUninstallDeploymentRequest

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.

UninstallDeploymentAsync(UninstallDeploymentRequest, CallOptions)

public virtual AsyncUnaryCall<Empty> UninstallDeploymentAsync(UninstallDeploymentRequest request, CallOptions options)
Parameters
NameDescription
requestUninstallDeploymentRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallEmpty

The call object.

UninstallDeploymentAsync(UninstallDeploymentRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Empty> UninstallDeploymentAsync(UninstallDeploymentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
NameDescription
requestUninstallDeploymentRequest

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.