App Hub v1 API - Class AppHub.AppHubClient (1.0.0-beta03)

public class AppHub.AppHubClient : ClientBase<AppHub.AppHubClient>

Reference documentation and code samples for the App Hub v1 API class AppHub.AppHubClient.

Client for AppHub

Inheritance

object > ClientBase > ClientBaseAppHubAppHubClient > AppHub.AppHubClient

Namespace

Google.Cloud.AppHub.V1

Assembly

Google.Cloud.AppHub.V1.dll

Constructors

AppHubClient()

protected AppHubClient()

Protected parameterless constructor to allow creation of test doubles.

AppHubClient(CallInvoker)

public AppHubClient(CallInvoker callInvoker)

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

Parameter
Name Description
callInvoker CallInvoker

The callInvoker to use to make remote calls.

AppHubClient(ChannelBase)

public AppHubClient(ChannelBase channel)

Creates a new client for AppHub

Parameter
Name Description
channel ChannelBase

The channel to use to make remote calls.

AppHubClient(ClientBaseConfiguration)

protected AppHubClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration

The client configuration.

Methods

CreateApplication(CreateApplicationRequest, CallOptions)

public virtual Operation CreateApplication(CreateApplicationRequest request, CallOptions options)

Creates an Application in a host project and location.

Parameters
Name Description
request CreateApplicationRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Operation

The response received from the server.

CreateApplication(CreateApplicationRequest, Metadata, DateTime?, CancellationToken)

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

Creates an Application in a host project and location.

Parameters
Name Description
request CreateApplicationRequest

The request to send to the server.

headers Metadata

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

deadline DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
Operation

The response received from the server.

CreateApplicationAsync(CreateApplicationRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> CreateApplicationAsync(CreateApplicationRequest request, CallOptions options)

Creates an Application in a host project and location.

Parameters
Name Description
request CreateApplicationRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

CreateApplicationAsync(CreateApplicationRequest, Metadata, DateTime?, CancellationToken)

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

Creates an Application in a host project and location.

Parameters
Name Description
request CreateApplicationRequest

The request to send to the server.

headers Metadata

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

deadline DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
OperationsOperationsClient

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

CreateService(CreateServiceRequest, CallOptions)

public virtual Operation CreateService(CreateServiceRequest request, CallOptions options)

Creates a Service in an Application.

Parameters
Name Description
request CreateServiceRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Operation

The response received from the server.

CreateService(CreateServiceRequest, Metadata, DateTime?, CancellationToken)

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

Creates a Service in an Application.

Parameters
Name Description
request CreateServiceRequest

The request to send to the server.

headers Metadata

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

deadline DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
Operation

The response received from the server.

CreateServiceAsync(CreateServiceRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> CreateServiceAsync(CreateServiceRequest request, CallOptions options)

Creates a Service in an Application.

Parameters
Name Description
request CreateServiceRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

CreateServiceAsync(CreateServiceRequest, Metadata, DateTime?, CancellationToken)

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

Creates a Service in an Application.

Parameters
Name Description
request CreateServiceRequest

The request to send to the server.

headers Metadata

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

deadline DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

CreateServiceProjectAttachment(CreateServiceProjectAttachmentRequest, CallOptions)

public virtual Operation CreateServiceProjectAttachment(CreateServiceProjectAttachmentRequest request, CallOptions options)

Attaches a service project to the host project.

Parameters
Name Description
request CreateServiceProjectAttachmentRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Operation

The response received from the server.

CreateServiceProjectAttachment(CreateServiceProjectAttachmentRequest, Metadata, DateTime?, CancellationToken)

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

Attaches a service project to the host project.

Parameters
Name Description
request CreateServiceProjectAttachmentRequest

The request to send to the server.

headers Metadata

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

deadline DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
Operation

The response received from the server.

CreateServiceProjectAttachmentAsync(CreateServiceProjectAttachmentRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> CreateServiceProjectAttachmentAsync(CreateServiceProjectAttachmentRequest request, CallOptions options)

Attaches a service project to the host project.

Parameters
Name Description
request CreateServiceProjectAttachmentRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

CreateServiceProjectAttachmentAsync(CreateServiceProjectAttachmentRequest, Metadata, DateTime?, CancellationToken)

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

Attaches a service project to the host project.

Parameters
Name Description
request CreateServiceProjectAttachmentRequest

The request to send to the server.

headers Metadata

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

deadline DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

CreateWorkload(CreateWorkloadRequest, CallOptions)

public virtual Operation CreateWorkload(CreateWorkloadRequest request, CallOptions options)

Creates a Workload in an Application.

Parameters
Name Description
request CreateWorkloadRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Operation

The response received from the server.

CreateWorkload(CreateWorkloadRequest, Metadata, DateTime?, CancellationToken)

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

Creates a Workload in an Application.

Parameters
Name Description
request CreateWorkloadRequest

The request to send to the server.

headers Metadata

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

deadline DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
Operation

The response received from the server.

CreateWorkloadAsync(CreateWorkloadRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> CreateWorkloadAsync(CreateWorkloadRequest request, CallOptions options)

Creates a Workload in an Application.

Parameters
Name Description
request CreateWorkloadRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

CreateWorkloadAsync(CreateWorkloadRequest, Metadata, DateTime?, CancellationToken)

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

Creates a Workload in an Application.

Parameters
Name Description
request CreateWorkloadRequest

The request to send to the server.

headers Metadata

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

deadline DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

DeleteApplication(DeleteApplicationRequest, CallOptions)

public virtual Operation DeleteApplication(DeleteApplicationRequest request, CallOptions options)

Deletes an Application in a host project and location.

Parameters
Name Description
request DeleteApplicationRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Operation

The response received from the server.

DeleteApplication(DeleteApplicationRequest, Metadata, DateTime?, CancellationToken)

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

Deletes an Application in a host project and location.

Parameters
Name Description
request DeleteApplicationRequest

The request to send to the server.

headers Metadata

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

deadline DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
Operation

The response received from the server.

DeleteApplicationAsync(DeleteApplicationRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> DeleteApplicationAsync(DeleteApplicationRequest request, CallOptions options)

Deletes an Application in a host project and location.

Parameters
Name Description
request DeleteApplicationRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

DeleteApplicationAsync(DeleteApplicationRequest, Metadata, DateTime?, CancellationToken)

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

Deletes an Application in a host project and location.

Parameters
Name Description
request DeleteApplicationRequest

The request to send to the server.

headers Metadata

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

deadline DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

DeleteService(DeleteServiceRequest, CallOptions)

public virtual Operation DeleteService(DeleteServiceRequest request, CallOptions options)

Deletes a Service from an Application.

Parameters
Name Description
request DeleteServiceRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Operation

The response received from the server.

DeleteService(DeleteServiceRequest, Metadata, DateTime?, CancellationToken)

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

Deletes a Service from an Application.

Parameters
Name Description
request DeleteServiceRequest

The request to send to the server.

headers Metadata

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

deadline DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
Operation

The response received from the server.

DeleteServiceAsync(DeleteServiceRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> DeleteServiceAsync(DeleteServiceRequest request, CallOptions options)

Deletes a Service from an Application.

Parameters
Name Description
request DeleteServiceRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

DeleteServiceAsync(DeleteServiceRequest, Metadata, DateTime?, CancellationToken)

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

Deletes a Service from an Application.

Parameters
Name Description
request DeleteServiceRequest

The request to send to the server.

headers Metadata

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

deadline DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

DeleteServiceProjectAttachment(DeleteServiceProjectAttachmentRequest, CallOptions)

public virtual Operation DeleteServiceProjectAttachment(DeleteServiceProjectAttachmentRequest request, CallOptions options)

Deletes a service project attachment.

Parameters
Name Description
request DeleteServiceProjectAttachmentRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Operation

The response received from the server.

DeleteServiceProjectAttachment(DeleteServiceProjectAttachmentRequest, Metadata, DateTime?, CancellationToken)

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

Deletes a service project attachment.

Parameters
Name Description
request DeleteServiceProjectAttachmentRequest

The request to send to the server.

headers Metadata

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

deadline DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
Operation

The response received from the server.

DeleteServiceProjectAttachmentAsync(DeleteServiceProjectAttachmentRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> DeleteServiceProjectAttachmentAsync(DeleteServiceProjectAttachmentRequest request, CallOptions options)

Deletes a service project attachment.

Parameters
Name Description
request DeleteServiceProjectAttachmentRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

DeleteServiceProjectAttachmentAsync(DeleteServiceProjectAttachmentRequest, Metadata, DateTime?, CancellationToken)

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

Deletes a service project attachment.

Parameters
Name Description
request DeleteServiceProjectAttachmentRequest

The request to send to the server.

headers Metadata

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

deadline DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

DeleteWorkload(DeleteWorkloadRequest, CallOptions)

public virtual Operation DeleteWorkload(DeleteWorkloadRequest request, CallOptions options)

Deletes a Workload from an Application.

Parameters
Name Description
request DeleteWorkloadRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Operation

The response received from the server.

DeleteWorkload(DeleteWorkloadRequest, Metadata, DateTime?, CancellationToken)

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

Deletes a Workload from an Application.

Parameters
Name Description
request DeleteWorkloadRequest

The request to send to the server.

headers Metadata

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

deadline DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
Operation

The response received from the server.

DeleteWorkloadAsync(DeleteWorkloadRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> DeleteWorkloadAsync(DeleteWorkloadRequest request, CallOptions options)

Deletes a Workload from an Application.

Parameters
Name Description
request DeleteWorkloadRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

DeleteWorkloadAsync(DeleteWorkloadRequest, Metadata, DateTime?, CancellationToken)

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

Deletes a Workload from an Application.

Parameters
Name Description
request DeleteWorkloadRequest

The request to send to the server.

headers Metadata

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

deadline DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

DetachServiceProjectAttachment(DetachServiceProjectAttachmentRequest, CallOptions)

public virtual DetachServiceProjectAttachmentResponse DetachServiceProjectAttachment(DetachServiceProjectAttachmentRequest request, CallOptions options)

Detaches a service project from a host project. You can call this API from any service project without needing access to the host project that it is attached to.

Parameters
Name Description
request DetachServiceProjectAttachmentRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
DetachServiceProjectAttachmentResponse

The response received from the server.

DetachServiceProjectAttachment(DetachServiceProjectAttachmentRequest, Metadata, DateTime?, CancellationToken)

public virtual DetachServiceProjectAttachmentResponse DetachServiceProjectAttachment(DetachServiceProjectAttachmentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Detaches a service project from a host project. You can call this API from any service project without needing access to the host project that it is attached to.

Parameters
Name Description
request DetachServiceProjectAttachmentRequest

The request to send to the server.

headers Metadata

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

deadline DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
DetachServiceProjectAttachmentResponse

The response received from the server.

DetachServiceProjectAttachmentAsync(DetachServiceProjectAttachmentRequest, CallOptions)

public virtual AsyncUnaryCall<DetachServiceProjectAttachmentResponse> DetachServiceProjectAttachmentAsync(DetachServiceProjectAttachmentRequest request, CallOptions options)

Detaches a service project from a host project. You can call this API from any service project without needing access to the host project that it is attached to.

Parameters
Name Description
request DetachServiceProjectAttachmentRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallDetachServiceProjectAttachmentResponse

The call object.

DetachServiceProjectAttachmentAsync(DetachServiceProjectAttachmentRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<DetachServiceProjectAttachmentResponse> DetachServiceProjectAttachmentAsync(DetachServiceProjectAttachmentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Detaches a service project from a host project. You can call this API from any service project without needing access to the host project that it is attached to.

Parameters
Name Description
request DetachServiceProjectAttachmentRequest

The request to send to the server.

headers Metadata

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

deadline DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallDetachServiceProjectAttachmentResponse

The call object.

GetApplication(GetApplicationRequest, CallOptions)

public virtual Application GetApplication(GetApplicationRequest request, CallOptions options)

Gets an Application in a host project and location.

Parameters
Name Description
request GetApplicationRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Application

The response received from the server.

GetApplication(GetApplicationRequest, Metadata, DateTime?, CancellationToken)

public virtual Application GetApplication(GetApplicationRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets an Application in a host project and location.

Parameters
Name Description
request GetApplicationRequest

The request to send to the server.

headers Metadata

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

deadline DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
Application

The response received from the server.

GetApplicationAsync(GetApplicationRequest, CallOptions)

public virtual AsyncUnaryCall<Application> GetApplicationAsync(GetApplicationRequest request, CallOptions options)

Gets an Application in a host project and location.

Parameters
Name Description
request GetApplicationRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallApplication

The call object.

GetApplicationAsync(GetApplicationRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Application> GetApplicationAsync(GetApplicationRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets an Application in a host project and location.

Parameters
Name Description
request GetApplicationRequest

The request to send to the server.

headers Metadata

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

deadline DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallApplication

The call object.

GetDiscoveredService(GetDiscoveredServiceRequest, CallOptions)

public virtual DiscoveredService GetDiscoveredService(GetDiscoveredServiceRequest request, CallOptions options)

Gets a Discovered Service in a host project and location.

Parameters
Name Description
request GetDiscoveredServiceRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
DiscoveredService

The response received from the server.

GetDiscoveredService(GetDiscoveredServiceRequest, Metadata, DateTime?, CancellationToken)

public virtual DiscoveredService GetDiscoveredService(GetDiscoveredServiceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets a Discovered Service in a host project and location.

Parameters
Name Description
request GetDiscoveredServiceRequest

The request to send to the server.

headers Metadata

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

deadline DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
DiscoveredService

The response received from the server.

GetDiscoveredServiceAsync(GetDiscoveredServiceRequest, CallOptions)

public virtual AsyncUnaryCall<DiscoveredService> GetDiscoveredServiceAsync(GetDiscoveredServiceRequest request, CallOptions options)

Gets a Discovered Service in a host project and location.

Parameters
Name Description
request GetDiscoveredServiceRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallDiscoveredService

The call object.

GetDiscoveredServiceAsync(GetDiscoveredServiceRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<DiscoveredService> GetDiscoveredServiceAsync(GetDiscoveredServiceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets a Discovered Service in a host project and location.

Parameters
Name Description
request GetDiscoveredServiceRequest

The request to send to the server.

headers Metadata

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

deadline DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallDiscoveredService

The call object.

GetDiscoveredWorkload(GetDiscoveredWorkloadRequest, CallOptions)

public virtual DiscoveredWorkload GetDiscoveredWorkload(GetDiscoveredWorkloadRequest request, CallOptions options)

Gets a Discovered Workload in a host project and location.

Parameters
Name Description
request GetDiscoveredWorkloadRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
DiscoveredWorkload

The response received from the server.

GetDiscoveredWorkload(GetDiscoveredWorkloadRequest, Metadata, DateTime?, CancellationToken)

public virtual DiscoveredWorkload GetDiscoveredWorkload(GetDiscoveredWorkloadRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets a Discovered Workload in a host project and location.

Parameters
Name Description
request GetDiscoveredWorkloadRequest

The request to send to the server.

headers Metadata

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

deadline DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
DiscoveredWorkload

The response received from the server.

GetDiscoveredWorkloadAsync(GetDiscoveredWorkloadRequest, CallOptions)

public virtual AsyncUnaryCall<DiscoveredWorkload> GetDiscoveredWorkloadAsync(GetDiscoveredWorkloadRequest request, CallOptions options)

Gets a Discovered Workload in a host project and location.

Parameters
Name Description
request GetDiscoveredWorkloadRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallDiscoveredWorkload

The call object.

GetDiscoveredWorkloadAsync(GetDiscoveredWorkloadRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<DiscoveredWorkload> GetDiscoveredWorkloadAsync(GetDiscoveredWorkloadRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets a Discovered Workload in a host project and location.

Parameters
Name Description
request GetDiscoveredWorkloadRequest

The request to send to the server.

headers Metadata

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

deadline DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallDiscoveredWorkload

The call object.

GetService(GetServiceRequest, CallOptions)

public virtual Service GetService(GetServiceRequest request, CallOptions options)

Gets a Service in an Application.

Parameters
Name Description
request GetServiceRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Service

The response received from the server.

GetService(GetServiceRequest, Metadata, DateTime?, CancellationToken)

public virtual Service GetService(GetServiceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets a Service in an Application.

Parameters
Name Description
request GetServiceRequest

The request to send to the server.

headers Metadata

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

deadline DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
Service

The response received from the server.

GetServiceAsync(GetServiceRequest, CallOptions)

public virtual AsyncUnaryCall<Service> GetServiceAsync(GetServiceRequest request, CallOptions options)

Gets a Service in an Application.

Parameters
Name Description
request GetServiceRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallService

The call object.

GetServiceAsync(GetServiceRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Service> GetServiceAsync(GetServiceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets a Service in an Application.

Parameters
Name Description
request GetServiceRequest

The request to send to the server.

headers Metadata

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

deadline DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallService

The call object.

GetServiceProjectAttachment(GetServiceProjectAttachmentRequest, CallOptions)

public virtual ServiceProjectAttachment GetServiceProjectAttachment(GetServiceProjectAttachmentRequest request, CallOptions options)

Gets a service project attachment.

Parameters
Name Description
request GetServiceProjectAttachmentRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ServiceProjectAttachment

The response received from the server.

GetServiceProjectAttachment(GetServiceProjectAttachmentRequest, Metadata, DateTime?, CancellationToken)

public virtual ServiceProjectAttachment GetServiceProjectAttachment(GetServiceProjectAttachmentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets a service project attachment.

Parameters
Name Description
request GetServiceProjectAttachmentRequest

The request to send to the server.

headers Metadata

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

deadline DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
ServiceProjectAttachment

The response received from the server.

GetServiceProjectAttachmentAsync(GetServiceProjectAttachmentRequest, CallOptions)

public virtual AsyncUnaryCall<ServiceProjectAttachment> GetServiceProjectAttachmentAsync(GetServiceProjectAttachmentRequest request, CallOptions options)

Gets a service project attachment.

Parameters
Name Description
request GetServiceProjectAttachmentRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallServiceProjectAttachment

The call object.

GetServiceProjectAttachmentAsync(GetServiceProjectAttachmentRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ServiceProjectAttachment> GetServiceProjectAttachmentAsync(GetServiceProjectAttachmentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets a service project attachment.

Parameters
Name Description
request GetServiceProjectAttachmentRequest

The request to send to the server.

headers Metadata

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

deadline DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallServiceProjectAttachment

The call object.

GetWorkload(GetWorkloadRequest, CallOptions)

public virtual Workload GetWorkload(GetWorkloadRequest request, CallOptions options)

Gets a Workload in an Application.

Parameters
Name Description
request GetWorkloadRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Workload

The response received from the server.

GetWorkload(GetWorkloadRequest, Metadata, DateTime?, CancellationToken)

public virtual Workload GetWorkload(GetWorkloadRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets a Workload in an Application.

Parameters
Name Description
request GetWorkloadRequest

The request to send to the server.

headers Metadata

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

deadline DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
Workload

The response received from the server.

GetWorkloadAsync(GetWorkloadRequest, CallOptions)

public virtual AsyncUnaryCall<Workload> GetWorkloadAsync(GetWorkloadRequest request, CallOptions options)

Gets a Workload in an Application.

Parameters
Name Description
request GetWorkloadRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallWorkload

The call object.

GetWorkloadAsync(GetWorkloadRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Workload> GetWorkloadAsync(GetWorkloadRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets a Workload in an Application.

Parameters
Name Description
request GetWorkloadRequest

The request to send to the server.

headers Metadata

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

deadline DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallWorkload

The call object.

ListApplications(ListApplicationsRequest, CallOptions)

public virtual ListApplicationsResponse ListApplications(ListApplicationsRequest request, CallOptions options)

Lists Applications in a host project and location.

Parameters
Name Description
request ListApplicationsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ListApplicationsResponse

The response received from the server.

ListApplications(ListApplicationsRequest, Metadata, DateTime?, CancellationToken)

public virtual ListApplicationsResponse ListApplications(ListApplicationsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists Applications in a host project and location.

Parameters
Name Description
request ListApplicationsRequest

The request to send to the server.

headers Metadata

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

deadline DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
ListApplicationsResponse

The response received from the server.

ListApplicationsAsync(ListApplicationsRequest, CallOptions)

public virtual AsyncUnaryCall<ListApplicationsResponse> ListApplicationsAsync(ListApplicationsRequest request, CallOptions options)

Lists Applications in a host project and location.

Parameters
Name Description
request ListApplicationsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallListApplicationsResponse

The call object.

ListApplicationsAsync(ListApplicationsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListApplicationsResponse> ListApplicationsAsync(ListApplicationsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists Applications in a host project and location.

Parameters
Name Description
request ListApplicationsRequest

The request to send to the server.

headers Metadata

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

deadline DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallListApplicationsResponse

The call object.

ListDiscoveredServices(ListDiscoveredServicesRequest, CallOptions)

public virtual ListDiscoveredServicesResponse ListDiscoveredServices(ListDiscoveredServicesRequest request, CallOptions options)

Lists Discovered Services that can be added to an Application in a host project and location.

Parameters
Name Description
request ListDiscoveredServicesRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ListDiscoveredServicesResponse

The response received from the server.

ListDiscoveredServices(ListDiscoveredServicesRequest, Metadata, DateTime?, CancellationToken)

public virtual ListDiscoveredServicesResponse ListDiscoveredServices(ListDiscoveredServicesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists Discovered Services that can be added to an Application in a host project and location.

Parameters
Name Description
request ListDiscoveredServicesRequest

The request to send to the server.

headers Metadata

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

deadline DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
ListDiscoveredServicesResponse

The response received from the server.

ListDiscoveredServicesAsync(ListDiscoveredServicesRequest, CallOptions)

public virtual AsyncUnaryCall<ListDiscoveredServicesResponse> ListDiscoveredServicesAsync(ListDiscoveredServicesRequest request, CallOptions options)

Lists Discovered Services that can be added to an Application in a host project and location.

Parameters
Name Description
request ListDiscoveredServicesRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallListDiscoveredServicesResponse

The call object.

ListDiscoveredServicesAsync(ListDiscoveredServicesRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListDiscoveredServicesResponse> ListDiscoveredServicesAsync(ListDiscoveredServicesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists Discovered Services that can be added to an Application in a host project and location.

Parameters
Name Description
request ListDiscoveredServicesRequest

The request to send to the server.

headers Metadata

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

deadline DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallListDiscoveredServicesResponse

The call object.

ListDiscoveredWorkloads(ListDiscoveredWorkloadsRequest, CallOptions)

public virtual ListDiscoveredWorkloadsResponse ListDiscoveredWorkloads(ListDiscoveredWorkloadsRequest request, CallOptions options)

Lists Discovered Workloads that can be added to an Application in a host project and location.

Parameters
Name Description
request ListDiscoveredWorkloadsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ListDiscoveredWorkloadsResponse

The response received from the server.

ListDiscoveredWorkloads(ListDiscoveredWorkloadsRequest, Metadata, DateTime?, CancellationToken)

public virtual ListDiscoveredWorkloadsResponse ListDiscoveredWorkloads(ListDiscoveredWorkloadsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists Discovered Workloads that can be added to an Application in a host project and location.

Parameters
Name Description
request ListDiscoveredWorkloadsRequest

The request to send to the server.

headers Metadata

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

deadline DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
ListDiscoveredWorkloadsResponse

The response received from the server.

ListDiscoveredWorkloadsAsync(ListDiscoveredWorkloadsRequest, CallOptions)

public virtual AsyncUnaryCall<ListDiscoveredWorkloadsResponse> ListDiscoveredWorkloadsAsync(ListDiscoveredWorkloadsRequest request, CallOptions options)

Lists Discovered Workloads that can be added to an Application in a host project and location.

Parameters
Name Description
request ListDiscoveredWorkloadsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallListDiscoveredWorkloadsResponse

The call object.

ListDiscoveredWorkloadsAsync(ListDiscoveredWorkloadsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListDiscoveredWorkloadsResponse> ListDiscoveredWorkloadsAsync(ListDiscoveredWorkloadsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists Discovered Workloads that can be added to an Application in a host project and location.

Parameters
Name Description
request ListDiscoveredWorkloadsRequest

The request to send to the server.

headers Metadata

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

deadline DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallListDiscoveredWorkloadsResponse

The call object.

ListServiceProjectAttachments(ListServiceProjectAttachmentsRequest, CallOptions)

public virtual ListServiceProjectAttachmentsResponse ListServiceProjectAttachments(ListServiceProjectAttachmentsRequest request, CallOptions options)

Lists service projects attached to the host project.

Parameters
Name Description
request ListServiceProjectAttachmentsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ListServiceProjectAttachmentsResponse

The response received from the server.

ListServiceProjectAttachments(ListServiceProjectAttachmentsRequest, Metadata, DateTime?, CancellationToken)

public virtual ListServiceProjectAttachmentsResponse ListServiceProjectAttachments(ListServiceProjectAttachmentsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists service projects attached to the host project.

Parameters
Name Description
request ListServiceProjectAttachmentsRequest

The request to send to the server.

headers Metadata

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

deadline DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
ListServiceProjectAttachmentsResponse

The response received from the server.

ListServiceProjectAttachmentsAsync(ListServiceProjectAttachmentsRequest, CallOptions)

public virtual AsyncUnaryCall<ListServiceProjectAttachmentsResponse> ListServiceProjectAttachmentsAsync(ListServiceProjectAttachmentsRequest request, CallOptions options)

Lists service projects attached to the host project.

Parameters
Name Description
request ListServiceProjectAttachmentsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallListServiceProjectAttachmentsResponse

The call object.

ListServiceProjectAttachmentsAsync(ListServiceProjectAttachmentsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListServiceProjectAttachmentsResponse> ListServiceProjectAttachmentsAsync(ListServiceProjectAttachmentsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists service projects attached to the host project.

Parameters
Name Description
request ListServiceProjectAttachmentsRequest

The request to send to the server.

headers Metadata

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

deadline DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallListServiceProjectAttachmentsResponse

The call object.

ListServices(ListServicesRequest, CallOptions)

public virtual ListServicesResponse ListServices(ListServicesRequest request, CallOptions options)

Lists Services in an Application.

Parameters
Name Description
request ListServicesRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ListServicesResponse

The response received from the server.

ListServices(ListServicesRequest, Metadata, DateTime?, CancellationToken)

public virtual ListServicesResponse ListServices(ListServicesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists Services in an Application.

Parameters
Name Description
request ListServicesRequest

The request to send to the server.

headers Metadata

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

deadline DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
ListServicesResponse

The response received from the server.

ListServicesAsync(ListServicesRequest, CallOptions)

public virtual AsyncUnaryCall<ListServicesResponse> ListServicesAsync(ListServicesRequest request, CallOptions options)

Lists Services in an Application.

Parameters
Name Description
request ListServicesRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallListServicesResponse

The call object.

ListServicesAsync(ListServicesRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListServicesResponse> ListServicesAsync(ListServicesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists Services in an Application.

Parameters
Name Description
request ListServicesRequest

The request to send to the server.

headers Metadata

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

deadline DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallListServicesResponse

The call object.

ListWorkloads(ListWorkloadsRequest, CallOptions)

public virtual ListWorkloadsResponse ListWorkloads(ListWorkloadsRequest request, CallOptions options)

Lists Workloads in an Application.

Parameters
Name Description
request ListWorkloadsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ListWorkloadsResponse

The response received from the server.

ListWorkloads(ListWorkloadsRequest, Metadata, DateTime?, CancellationToken)

public virtual ListWorkloadsResponse ListWorkloads(ListWorkloadsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists Workloads in an Application.

Parameters
Name Description
request ListWorkloadsRequest

The request to send to the server.

headers Metadata

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

deadline DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
ListWorkloadsResponse

The response received from the server.

ListWorkloadsAsync(ListWorkloadsRequest, CallOptions)

public virtual AsyncUnaryCall<ListWorkloadsResponse> ListWorkloadsAsync(ListWorkloadsRequest request, CallOptions options)

Lists Workloads in an Application.

Parameters
Name Description
request ListWorkloadsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallListWorkloadsResponse

The call object.

ListWorkloadsAsync(ListWorkloadsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListWorkloadsResponse> ListWorkloadsAsync(ListWorkloadsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists Workloads in an Application.

Parameters
Name Description
request ListWorkloadsRequest

The request to send to the server.

headers Metadata

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

deadline DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallListWorkloadsResponse

The call object.

LookupDiscoveredService(LookupDiscoveredServiceRequest, CallOptions)

public virtual LookupDiscoveredServiceResponse LookupDiscoveredService(LookupDiscoveredServiceRequest request, CallOptions options)

Lists a Discovered Service in a host project and location, with a given resource URI.

Parameters
Name Description
request LookupDiscoveredServiceRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
LookupDiscoveredServiceResponse

The response received from the server.

LookupDiscoveredService(LookupDiscoveredServiceRequest, Metadata, DateTime?, CancellationToken)

public virtual LookupDiscoveredServiceResponse LookupDiscoveredService(LookupDiscoveredServiceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists a Discovered Service in a host project and location, with a given resource URI.

Parameters
Name Description
request LookupDiscoveredServiceRequest

The request to send to the server.

headers Metadata

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

deadline DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
LookupDiscoveredServiceResponse

The response received from the server.

LookupDiscoveredServiceAsync(LookupDiscoveredServiceRequest, CallOptions)

public virtual AsyncUnaryCall<LookupDiscoveredServiceResponse> LookupDiscoveredServiceAsync(LookupDiscoveredServiceRequest request, CallOptions options)

Lists a Discovered Service in a host project and location, with a given resource URI.

Parameters
Name Description
request LookupDiscoveredServiceRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallLookupDiscoveredServiceResponse

The call object.

LookupDiscoveredServiceAsync(LookupDiscoveredServiceRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<LookupDiscoveredServiceResponse> LookupDiscoveredServiceAsync(LookupDiscoveredServiceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists a Discovered Service in a host project and location, with a given resource URI.

Parameters
Name Description
request LookupDiscoveredServiceRequest

The request to send to the server.

headers Metadata

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

deadline DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallLookupDiscoveredServiceResponse

The call object.

LookupDiscoveredWorkload(LookupDiscoveredWorkloadRequest, CallOptions)

public virtual LookupDiscoveredWorkloadResponse LookupDiscoveredWorkload(LookupDiscoveredWorkloadRequest request, CallOptions options)

Lists a Discovered Workload in a host project and location, with a given resource URI.

Parameters
Name Description
request LookupDiscoveredWorkloadRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
LookupDiscoveredWorkloadResponse

The response received from the server.

LookupDiscoveredWorkload(LookupDiscoveredWorkloadRequest, Metadata, DateTime?, CancellationToken)

public virtual LookupDiscoveredWorkloadResponse LookupDiscoveredWorkload(LookupDiscoveredWorkloadRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists a Discovered Workload in a host project and location, with a given resource URI.

Parameters
Name Description
request LookupDiscoveredWorkloadRequest

The request to send to the server.

headers Metadata

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

deadline DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
LookupDiscoveredWorkloadResponse

The response received from the server.

LookupDiscoveredWorkloadAsync(LookupDiscoveredWorkloadRequest, CallOptions)

public virtual AsyncUnaryCall<LookupDiscoveredWorkloadResponse> LookupDiscoveredWorkloadAsync(LookupDiscoveredWorkloadRequest request, CallOptions options)

Lists a Discovered Workload in a host project and location, with a given resource URI.

Parameters
Name Description
request LookupDiscoveredWorkloadRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallLookupDiscoveredWorkloadResponse

The call object.

LookupDiscoveredWorkloadAsync(LookupDiscoveredWorkloadRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<LookupDiscoveredWorkloadResponse> LookupDiscoveredWorkloadAsync(LookupDiscoveredWorkloadRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists a Discovered Workload in a host project and location, with a given resource URI.

Parameters
Name Description
request LookupDiscoveredWorkloadRequest

The request to send to the server.

headers Metadata

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

deadline DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallLookupDiscoveredWorkloadResponse

The call object.

LookupServiceProjectAttachment(LookupServiceProjectAttachmentRequest, CallOptions)

public virtual LookupServiceProjectAttachmentResponse LookupServiceProjectAttachment(LookupServiceProjectAttachmentRequest request, CallOptions options)

Lists a service project attachment for a given service project. You can call this API from any project to find if it is attached to a host project.

Parameters
Name Description
request LookupServiceProjectAttachmentRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
LookupServiceProjectAttachmentResponse

The response received from the server.

LookupServiceProjectAttachment(LookupServiceProjectAttachmentRequest, Metadata, DateTime?, CancellationToken)

public virtual LookupServiceProjectAttachmentResponse LookupServiceProjectAttachment(LookupServiceProjectAttachmentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists a service project attachment for a given service project. You can call this API from any project to find if it is attached to a host project.

Parameters
Name Description
request LookupServiceProjectAttachmentRequest

The request to send to the server.

headers Metadata

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

deadline DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
LookupServiceProjectAttachmentResponse

The response received from the server.

LookupServiceProjectAttachmentAsync(LookupServiceProjectAttachmentRequest, CallOptions)

public virtual AsyncUnaryCall<LookupServiceProjectAttachmentResponse> LookupServiceProjectAttachmentAsync(LookupServiceProjectAttachmentRequest request, CallOptions options)

Lists a service project attachment for a given service project. You can call this API from any project to find if it is attached to a host project.

Parameters
Name Description
request LookupServiceProjectAttachmentRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallLookupServiceProjectAttachmentResponse

The call object.

LookupServiceProjectAttachmentAsync(LookupServiceProjectAttachmentRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<LookupServiceProjectAttachmentResponse> LookupServiceProjectAttachmentAsync(LookupServiceProjectAttachmentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists a service project attachment for a given service project. You can call this API from any project to find if it is attached to a host project.

Parameters
Name Description
request LookupServiceProjectAttachmentRequest

The request to send to the server.

headers Metadata

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

deadline DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallLookupServiceProjectAttachmentResponse

The call object.

NewInstance(ClientBaseConfiguration)

protected override AppHub.AppHubClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration
Returns
Type Description
AppHubAppHubClient
Overrides

UpdateApplication(UpdateApplicationRequest, CallOptions)

public virtual Operation UpdateApplication(UpdateApplicationRequest request, CallOptions options)

Updates an Application in a host project and location.

Parameters
Name Description
request UpdateApplicationRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Operation

The response received from the server.

UpdateApplication(UpdateApplicationRequest, Metadata, DateTime?, CancellationToken)

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

Updates an Application in a host project and location.

Parameters
Name Description
request UpdateApplicationRequest

The request to send to the server.

headers Metadata

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

deadline DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
Operation

The response received from the server.

UpdateApplicationAsync(UpdateApplicationRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> UpdateApplicationAsync(UpdateApplicationRequest request, CallOptions options)

Updates an Application in a host project and location.

Parameters
Name Description
request UpdateApplicationRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

UpdateApplicationAsync(UpdateApplicationRequest, Metadata, DateTime?, CancellationToken)

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

Updates an Application in a host project and location.

Parameters
Name Description
request UpdateApplicationRequest

The request to send to the server.

headers Metadata

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

deadline DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

UpdateService(UpdateServiceRequest, CallOptions)

public virtual Operation UpdateService(UpdateServiceRequest request, CallOptions options)

Updates a Service in an Application.

Parameters
Name Description
request UpdateServiceRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Operation

The response received from the server.

UpdateService(UpdateServiceRequest, Metadata, DateTime?, CancellationToken)

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

Updates a Service in an Application.

Parameters
Name Description
request UpdateServiceRequest

The request to send to the server.

headers Metadata

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

deadline DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
Operation

The response received from the server.

UpdateServiceAsync(UpdateServiceRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> UpdateServiceAsync(UpdateServiceRequest request, CallOptions options)

Updates a Service in an Application.

Parameters
Name Description
request UpdateServiceRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

UpdateServiceAsync(UpdateServiceRequest, Metadata, DateTime?, CancellationToken)

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

Updates a Service in an Application.

Parameters
Name Description
request UpdateServiceRequest

The request to send to the server.

headers Metadata

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

deadline DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

UpdateWorkload(UpdateWorkloadRequest, CallOptions)

public virtual Operation UpdateWorkload(UpdateWorkloadRequest request, CallOptions options)

Updates a Workload in an Application.

Parameters
Name Description
request UpdateWorkloadRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Operation

The response received from the server.

UpdateWorkload(UpdateWorkloadRequest, Metadata, DateTime?, CancellationToken)

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

Updates a Workload in an Application.

Parameters
Name Description
request UpdateWorkloadRequest

The request to send to the server.

headers Metadata

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

deadline DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
Operation

The response received from the server.

UpdateWorkloadAsync(UpdateWorkloadRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> UpdateWorkloadAsync(UpdateWorkloadRequest request, CallOptions options)

Updates a Workload in an Application.

Parameters
Name Description
request UpdateWorkloadRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

UpdateWorkloadAsync(UpdateWorkloadRequest, Metadata, DateTime?, CancellationToken)

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

Updates a Workload in an Application.

Parameters
Name Description
request UpdateWorkloadRequest

The request to send to the server.

headers Metadata

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

deadline DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.