Class GSuiteAddOns.GSuiteAddOnsClient (1.1.0)

public class GSuiteAddOnsClient : ClientBase<GSuiteAddOns.GSuiteAddOnsClient>

Client for GSuiteAddOns

Inheritance

Object > ClientBase > ClientBase<GSuiteAddOns.GSuiteAddOnsClient> > GSuiteAddOns.GSuiteAddOnsClient

Namespace

Google.Cloud.GSuiteAddOns.V1

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(ClientBase.ClientBaseConfiguration)

protected GSuiteAddOnsClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration

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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<Deployment>

The call object.

CreateDeploymentAsync(CreateDeploymentRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<Deployment>

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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<Empty>

The call object.

DeleteDeploymentAsync(DeleteDeploymentRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<Empty>

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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<Authorization>

The call object.

GetAuthorizationAsync(GetAuthorizationRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<Authorization>

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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<Deployment>

The call object.

GetDeploymentAsync(GetDeploymentRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<Deployment>

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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<InstallStatus>

The call object.

GetInstallStatusAsync(GetInstallStatusRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<InstallStatus>

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, Nullable<DateTime>, CancellationToken)

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

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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
AsyncUnaryCall<Empty>

The call object.

InstallDeploymentAsync(InstallDeploymentRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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
AsyncUnaryCall<Empty>

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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<ListDeploymentsResponse>

The call object.

ListDeploymentsAsync(ListDeploymentsRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<ListDeploymentsResponse>

The call object.

NewInstance(ClientBase.ClientBaseConfiguration)

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

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration
Returns
TypeDescription
GSuiteAddOns.GSuiteAddOnsClient
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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<Deployment>

The call object.

ReplaceDeploymentAsync(ReplaceDeploymentRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<Deployment>

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, Nullable<DateTime>, CancellationToken)

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

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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
AsyncUnaryCall<Empty>

The call object.

UninstallDeploymentAsync(UninstallDeploymentRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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
AsyncUnaryCall<Empty>

The call object.