App Hub v1 API - Class AppHubClientImpl (1.0.0-beta02)

public sealed class AppHubClientImpl : AppHubClient

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

AppHub client wrapper implementation, for convenient use.

Inheritance

object > AppHubClient > AppHubClientImpl

Namespace

Google.Cloud.AppHub.V1

Assembly

Google.Cloud.AppHub.V1.dll

Remarks

The App Hub API allows you to manage App Hub resources.

Constructors

AppHubClientImpl(AppHubClient, AppHubSettings, ILogger)

public AppHubClientImpl(AppHub.AppHubClient grpcClient, AppHubSettings settings, ILogger logger)

Constructs a client wrapper for the AppHub service, with the specified gRPC client and settings.

Parameters
Name Description
grpcClient AppHubAppHubClient

The underlying gRPC client.

settings AppHubSettings

The base AppHubSettings used within this client.

logger ILogger

Optional ILogger to use within this client.

Properties

CreateApplicationOperationsClient

public override OperationsClient CreateApplicationOperationsClient { get; }

The long-running operations client for CreateApplication.

Property Value
Type Description
OperationsClient
Overrides

CreateServiceOperationsClient

public override OperationsClient CreateServiceOperationsClient { get; }

The long-running operations client for CreateService.

Property Value
Type Description
OperationsClient
Overrides

CreateServiceProjectAttachmentOperationsClient

public override OperationsClient CreateServiceProjectAttachmentOperationsClient { get; }

The long-running operations client for CreateServiceProjectAttachment.

Property Value
Type Description
OperationsClient
Overrides

CreateWorkloadOperationsClient

public override OperationsClient CreateWorkloadOperationsClient { get; }

The long-running operations client for CreateWorkload.

Property Value
Type Description
OperationsClient
Overrides

DeleteApplicationOperationsClient

public override OperationsClient DeleteApplicationOperationsClient { get; }

The long-running operations client for DeleteApplication.

Property Value
Type Description
OperationsClient
Overrides

DeleteServiceOperationsClient

public override OperationsClient DeleteServiceOperationsClient { get; }

The long-running operations client for DeleteService.

Property Value
Type Description
OperationsClient
Overrides

DeleteServiceProjectAttachmentOperationsClient

public override OperationsClient DeleteServiceProjectAttachmentOperationsClient { get; }

The long-running operations client for DeleteServiceProjectAttachment.

Property Value
Type Description
OperationsClient
Overrides

DeleteWorkloadOperationsClient

public override OperationsClient DeleteWorkloadOperationsClient { get; }

The long-running operations client for DeleteWorkload.

Property Value
Type Description
OperationsClient
Overrides

GrpcClient

public override AppHub.AppHubClient GrpcClient { get; }

The underlying gRPC AppHub client

Property Value
Type Description
AppHubAppHubClient
Overrides

IAMPolicyClient

public override IAMPolicyClient IAMPolicyClient { get; }

The IAMPolicyClient associated with this client.

Property Value
Type Description
IAMPolicyClient
Overrides

LocationsClient

public override LocationsClient LocationsClient { get; }

The LocationsClient associated with this client.

Property Value
Type Description
LocationsClient
Overrides

UpdateApplicationOperationsClient

public override OperationsClient UpdateApplicationOperationsClient { get; }

The long-running operations client for UpdateApplication.

Property Value
Type Description
OperationsClient
Overrides

UpdateServiceOperationsClient

public override OperationsClient UpdateServiceOperationsClient { get; }

The long-running operations client for UpdateService.

Property Value
Type Description
OperationsClient
Overrides

UpdateWorkloadOperationsClient

public override OperationsClient UpdateWorkloadOperationsClient { get; }

The long-running operations client for UpdateWorkload.

Property Value
Type Description
OperationsClient
Overrides

Methods

CreateApplication(CreateApplicationRequest, CallSettings)

public override Operation<Application, OperationMetadata> CreateApplication(CreateApplicationRequest request, CallSettings callSettings = null)

Creates an Application in a host project and location.

Parameters
Name Description
request CreateApplicationRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationApplicationOperationMetadata

The RPC response.

Overrides

CreateApplicationAsync(CreateApplicationRequest, CallSettings)

public override Task<Operation<Application, OperationMetadata>> CreateApplicationAsync(CreateApplicationRequest request, CallSettings callSettings = null)

Creates an Application in a host project and location.

Parameters
Name Description
request CreateApplicationRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationApplicationOperationMetadata

A Task containing the RPC response.

Overrides

CreateService(CreateServiceRequest, CallSettings)

public override Operation<Service, OperationMetadata> CreateService(CreateServiceRequest request, CallSettings callSettings = null)

Creates a Service in an Application.

Parameters
Name Description
request CreateServiceRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationServiceOperationMetadata

The RPC response.

Overrides

CreateServiceAsync(CreateServiceRequest, CallSettings)

public override Task<Operation<Service, OperationMetadata>> CreateServiceAsync(CreateServiceRequest request, CallSettings callSettings = null)

Creates a Service in an Application.

Parameters
Name Description
request CreateServiceRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationServiceOperationMetadata

A Task containing the RPC response.

Overrides

CreateServiceProjectAttachment(CreateServiceProjectAttachmentRequest, CallSettings)

public override Operation<ServiceProjectAttachment, OperationMetadata> CreateServiceProjectAttachment(CreateServiceProjectAttachmentRequest request, CallSettings callSettings = null)

Attaches a service project to the host project.

Parameters
Name Description
request CreateServiceProjectAttachmentRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationServiceProjectAttachmentOperationMetadata

The RPC response.

Overrides

CreateServiceProjectAttachmentAsync(CreateServiceProjectAttachmentRequest, CallSettings)

public override Task<Operation<ServiceProjectAttachment, OperationMetadata>> CreateServiceProjectAttachmentAsync(CreateServiceProjectAttachmentRequest request, CallSettings callSettings = null)

Attaches a service project to the host project.

Parameters
Name Description
request CreateServiceProjectAttachmentRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationServiceProjectAttachmentOperationMetadata

A Task containing the RPC response.

Overrides

CreateWorkload(CreateWorkloadRequest, CallSettings)

public override Operation<Workload, OperationMetadata> CreateWorkload(CreateWorkloadRequest request, CallSettings callSettings = null)

Creates a Workload in an Application.

Parameters
Name Description
request CreateWorkloadRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationWorkloadOperationMetadata

The RPC response.

Overrides

CreateWorkloadAsync(CreateWorkloadRequest, CallSettings)

public override Task<Operation<Workload, OperationMetadata>> CreateWorkloadAsync(CreateWorkloadRequest request, CallSettings callSettings = null)

Creates a Workload in an Application.

Parameters
Name Description
request CreateWorkloadRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationWorkloadOperationMetadata

A Task containing the RPC response.

Overrides

DeleteApplication(DeleteApplicationRequest, CallSettings)

public override Operation<Empty, OperationMetadata> DeleteApplication(DeleteApplicationRequest request, CallSettings callSettings = null)

Deletes an Application in a host project and location.

Parameters
Name Description
request DeleteApplicationRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyOperationMetadata

The RPC response.

Overrides

DeleteApplicationAsync(DeleteApplicationRequest, CallSettings)

public override Task<Operation<Empty, OperationMetadata>> DeleteApplicationAsync(DeleteApplicationRequest request, CallSettings callSettings = null)

Deletes an Application in a host project and location.

Parameters
Name Description
request DeleteApplicationRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Overrides

DeleteService(DeleteServiceRequest, CallSettings)

public override Operation<Empty, OperationMetadata> DeleteService(DeleteServiceRequest request, CallSettings callSettings = null)

Deletes a Service from an Application.

Parameters
Name Description
request DeleteServiceRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyOperationMetadata

The RPC response.

Overrides

DeleteServiceAsync(DeleteServiceRequest, CallSettings)

public override Task<Operation<Empty, OperationMetadata>> DeleteServiceAsync(DeleteServiceRequest request, CallSettings callSettings = null)

Deletes a Service from an Application.

Parameters
Name Description
request DeleteServiceRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Overrides

DeleteServiceProjectAttachment(DeleteServiceProjectAttachmentRequest, CallSettings)

public override Operation<Empty, OperationMetadata> DeleteServiceProjectAttachment(DeleteServiceProjectAttachmentRequest request, CallSettings callSettings = null)

Deletes a service project attachment.

Parameters
Name Description
request DeleteServiceProjectAttachmentRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyOperationMetadata

The RPC response.

Overrides

DeleteServiceProjectAttachmentAsync(DeleteServiceProjectAttachmentRequest, CallSettings)

public override Task<Operation<Empty, OperationMetadata>> DeleteServiceProjectAttachmentAsync(DeleteServiceProjectAttachmentRequest request, CallSettings callSettings = null)

Deletes a service project attachment.

Parameters
Name Description
request DeleteServiceProjectAttachmentRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Overrides

DeleteWorkload(DeleteWorkloadRequest, CallSettings)

public override Operation<Empty, OperationMetadata> DeleteWorkload(DeleteWorkloadRequest request, CallSettings callSettings = null)

Deletes a Workload from an Application.

Parameters
Name Description
request DeleteWorkloadRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyOperationMetadata

The RPC response.

Overrides

DeleteWorkloadAsync(DeleteWorkloadRequest, CallSettings)

public override Task<Operation<Empty, OperationMetadata>> DeleteWorkloadAsync(DeleteWorkloadRequest request, CallSettings callSettings = null)

Deletes a Workload from an Application.

Parameters
Name Description
request DeleteWorkloadRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Overrides

DetachServiceProjectAttachment(DetachServiceProjectAttachmentRequest, CallSettings)

public override DetachServiceProjectAttachmentResponse DetachServiceProjectAttachment(DetachServiceProjectAttachmentRequest request, CallSettings callSettings = null)

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 object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
DetachServiceProjectAttachmentResponse

The RPC response.

Overrides

DetachServiceProjectAttachmentAsync(DetachServiceProjectAttachmentRequest, CallSettings)

public override Task<DetachServiceProjectAttachmentResponse> DetachServiceProjectAttachmentAsync(DetachServiceProjectAttachmentRequest request, CallSettings callSettings = null)

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 object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskDetachServiceProjectAttachmentResponse

A Task containing the RPC response.

Overrides

GetApplication(GetApplicationRequest, CallSettings)

public override Application GetApplication(GetApplicationRequest request, CallSettings callSettings = null)

Gets an Application in a host project and location.

Parameters
Name Description
request GetApplicationRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Application

The RPC response.

Overrides

GetApplicationAsync(GetApplicationRequest, CallSettings)

public override Task<Application> GetApplicationAsync(GetApplicationRequest request, CallSettings callSettings = null)

Gets an Application in a host project and location.

Parameters
Name Description
request GetApplicationRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskApplication

A Task containing the RPC response.

Overrides

GetDiscoveredService(GetDiscoveredServiceRequest, CallSettings)

public override DiscoveredService GetDiscoveredService(GetDiscoveredServiceRequest request, CallSettings callSettings = null)

Gets a Discovered Service in a host project and location.

Parameters
Name Description
request GetDiscoveredServiceRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
DiscoveredService

The RPC response.

Overrides

GetDiscoveredServiceAsync(GetDiscoveredServiceRequest, CallSettings)

public override Task<DiscoveredService> GetDiscoveredServiceAsync(GetDiscoveredServiceRequest request, CallSettings callSettings = null)

Gets a Discovered Service in a host project and location.

Parameters
Name Description
request GetDiscoveredServiceRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskDiscoveredService

A Task containing the RPC response.

Overrides

GetDiscoveredWorkload(GetDiscoveredWorkloadRequest, CallSettings)

public override DiscoveredWorkload GetDiscoveredWorkload(GetDiscoveredWorkloadRequest request, CallSettings callSettings = null)

Gets a Discovered Workload in a host project and location.

Parameters
Name Description
request GetDiscoveredWorkloadRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
DiscoveredWorkload

The RPC response.

Overrides

GetDiscoveredWorkloadAsync(GetDiscoveredWorkloadRequest, CallSettings)

public override Task<DiscoveredWorkload> GetDiscoveredWorkloadAsync(GetDiscoveredWorkloadRequest request, CallSettings callSettings = null)

Gets a Discovered Workload in a host project and location.

Parameters
Name Description
request GetDiscoveredWorkloadRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskDiscoveredWorkload

A Task containing the RPC response.

Overrides

GetService(GetServiceRequest, CallSettings)

public override Service GetService(GetServiceRequest request, CallSettings callSettings = null)

Gets a Service in an Application.

Parameters
Name Description
request GetServiceRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Service

The RPC response.

Overrides

GetServiceAsync(GetServiceRequest, CallSettings)

public override Task<Service> GetServiceAsync(GetServiceRequest request, CallSettings callSettings = null)

Gets a Service in an Application.

Parameters
Name Description
request GetServiceRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskService

A Task containing the RPC response.

Overrides

GetServiceProjectAttachment(GetServiceProjectAttachmentRequest, CallSettings)

public override ServiceProjectAttachment GetServiceProjectAttachment(GetServiceProjectAttachmentRequest request, CallSettings callSettings = null)

Gets a service project attachment.

Parameters
Name Description
request GetServiceProjectAttachmentRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
ServiceProjectAttachment

The RPC response.

Overrides

GetServiceProjectAttachmentAsync(GetServiceProjectAttachmentRequest, CallSettings)

public override Task<ServiceProjectAttachment> GetServiceProjectAttachmentAsync(GetServiceProjectAttachmentRequest request, CallSettings callSettings = null)

Gets a service project attachment.

Parameters
Name Description
request GetServiceProjectAttachmentRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskServiceProjectAttachment

A Task containing the RPC response.

Overrides

GetWorkload(GetWorkloadRequest, CallSettings)

public override Workload GetWorkload(GetWorkloadRequest request, CallSettings callSettings = null)

Gets a Workload in an Application.

Parameters
Name Description
request GetWorkloadRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Workload

The RPC response.

Overrides

GetWorkloadAsync(GetWorkloadRequest, CallSettings)

public override Task<Workload> GetWorkloadAsync(GetWorkloadRequest request, CallSettings callSettings = null)

Gets a Workload in an Application.

Parameters
Name Description
request GetWorkloadRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskWorkload

A Task containing the RPC response.

Overrides

ListApplications(ListApplicationsRequest, CallSettings)

public override PagedEnumerable<ListApplicationsResponse, Application> ListApplications(ListApplicationsRequest request, CallSettings callSettings = null)

Lists Applications in a host project and location.

Parameters
Name Description
request ListApplicationsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListApplicationsResponseApplication

A pageable sequence of Application resources.

Overrides

ListApplicationsAsync(ListApplicationsRequest, CallSettings)

public override PagedAsyncEnumerable<ListApplicationsResponse, Application> ListApplicationsAsync(ListApplicationsRequest request, CallSettings callSettings = null)

Lists Applications in a host project and location.

Parameters
Name Description
request ListApplicationsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListApplicationsResponseApplication

A pageable asynchronous sequence of Application resources.

Overrides

ListDiscoveredServices(ListDiscoveredServicesRequest, CallSettings)

public override PagedEnumerable<ListDiscoveredServicesResponse, DiscoveredService> ListDiscoveredServices(ListDiscoveredServicesRequest request, CallSettings callSettings = null)

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

Parameters
Name Description
request ListDiscoveredServicesRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListDiscoveredServicesResponseDiscoveredService

A pageable sequence of DiscoveredService resources.

Overrides

ListDiscoveredServicesAsync(ListDiscoveredServicesRequest, CallSettings)

public override PagedAsyncEnumerable<ListDiscoveredServicesResponse, DiscoveredService> ListDiscoveredServicesAsync(ListDiscoveredServicesRequest request, CallSettings callSettings = null)

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

Parameters
Name Description
request ListDiscoveredServicesRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListDiscoveredServicesResponseDiscoveredService

A pageable asynchronous sequence of DiscoveredService resources.

Overrides

ListDiscoveredWorkloads(ListDiscoveredWorkloadsRequest, CallSettings)

public override PagedEnumerable<ListDiscoveredWorkloadsResponse, DiscoveredWorkload> ListDiscoveredWorkloads(ListDiscoveredWorkloadsRequest request, CallSettings callSettings = null)

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

Parameters
Name Description
request ListDiscoveredWorkloadsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListDiscoveredWorkloadsResponseDiscoveredWorkload

A pageable sequence of DiscoveredWorkload resources.

Overrides

ListDiscoveredWorkloadsAsync(ListDiscoveredWorkloadsRequest, CallSettings)

public override PagedAsyncEnumerable<ListDiscoveredWorkloadsResponse, DiscoveredWorkload> ListDiscoveredWorkloadsAsync(ListDiscoveredWorkloadsRequest request, CallSettings callSettings = null)

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

Parameters
Name Description
request ListDiscoveredWorkloadsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListDiscoveredWorkloadsResponseDiscoveredWorkload

A pageable asynchronous sequence of DiscoveredWorkload resources.

Overrides

ListServiceProjectAttachments(ListServiceProjectAttachmentsRequest, CallSettings)

public override PagedEnumerable<ListServiceProjectAttachmentsResponse, ServiceProjectAttachment> ListServiceProjectAttachments(ListServiceProjectAttachmentsRequest request, CallSettings callSettings = null)

Lists service projects attached to the host project.

Parameters
Name Description
request ListServiceProjectAttachmentsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListServiceProjectAttachmentsResponseServiceProjectAttachment

A pageable sequence of ServiceProjectAttachment resources.

Overrides

ListServiceProjectAttachmentsAsync(ListServiceProjectAttachmentsRequest, CallSettings)

public override PagedAsyncEnumerable<ListServiceProjectAttachmentsResponse, ServiceProjectAttachment> ListServiceProjectAttachmentsAsync(ListServiceProjectAttachmentsRequest request, CallSettings callSettings = null)

Lists service projects attached to the host project.

Parameters
Name Description
request ListServiceProjectAttachmentsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListServiceProjectAttachmentsResponseServiceProjectAttachment

A pageable asynchronous sequence of ServiceProjectAttachment resources.

Overrides

ListServices(ListServicesRequest, CallSettings)

public override PagedEnumerable<ListServicesResponse, Service> ListServices(ListServicesRequest request, CallSettings callSettings = null)

Lists Services in an Application.

Parameters
Name Description
request ListServicesRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListServicesResponseService

A pageable sequence of Service resources.

Overrides

ListServicesAsync(ListServicesRequest, CallSettings)

public override PagedAsyncEnumerable<ListServicesResponse, Service> ListServicesAsync(ListServicesRequest request, CallSettings callSettings = null)

Lists Services in an Application.

Parameters
Name Description
request ListServicesRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListServicesResponseService

A pageable asynchronous sequence of Service resources.

Overrides

ListWorkloads(ListWorkloadsRequest, CallSettings)

public override PagedEnumerable<ListWorkloadsResponse, Workload> ListWorkloads(ListWorkloadsRequest request, CallSettings callSettings = null)

Lists Workloads in an Application.

Parameters
Name Description
request ListWorkloadsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListWorkloadsResponseWorkload

A pageable sequence of Workload resources.

Overrides

ListWorkloadsAsync(ListWorkloadsRequest, CallSettings)

public override PagedAsyncEnumerable<ListWorkloadsResponse, Workload> ListWorkloadsAsync(ListWorkloadsRequest request, CallSettings callSettings = null)

Lists Workloads in an Application.

Parameters
Name Description
request ListWorkloadsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListWorkloadsResponseWorkload

A pageable asynchronous sequence of Workload resources.

Overrides

LookupDiscoveredService(LookupDiscoveredServiceRequest, CallSettings)

public override LookupDiscoveredServiceResponse LookupDiscoveredService(LookupDiscoveredServiceRequest request, CallSettings callSettings = null)

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

Parameters
Name Description
request LookupDiscoveredServiceRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
LookupDiscoveredServiceResponse

The RPC response.

Overrides

LookupDiscoveredServiceAsync(LookupDiscoveredServiceRequest, CallSettings)

public override Task<LookupDiscoveredServiceResponse> LookupDiscoveredServiceAsync(LookupDiscoveredServiceRequest request, CallSettings callSettings = null)

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

Parameters
Name Description
request LookupDiscoveredServiceRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskLookupDiscoveredServiceResponse

A Task containing the RPC response.

Overrides

LookupDiscoveredWorkload(LookupDiscoveredWorkloadRequest, CallSettings)

public override LookupDiscoveredWorkloadResponse LookupDiscoveredWorkload(LookupDiscoveredWorkloadRequest request, CallSettings callSettings = null)

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

Parameters
Name Description
request LookupDiscoveredWorkloadRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
LookupDiscoveredWorkloadResponse

The RPC response.

Overrides

LookupDiscoveredWorkloadAsync(LookupDiscoveredWorkloadRequest, CallSettings)

public override Task<LookupDiscoveredWorkloadResponse> LookupDiscoveredWorkloadAsync(LookupDiscoveredWorkloadRequest request, CallSettings callSettings = null)

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

Parameters
Name Description
request LookupDiscoveredWorkloadRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskLookupDiscoveredWorkloadResponse

A Task containing the RPC response.

Overrides

LookupServiceProjectAttachment(LookupServiceProjectAttachmentRequest, CallSettings)

public override LookupServiceProjectAttachmentResponse LookupServiceProjectAttachment(LookupServiceProjectAttachmentRequest request, CallSettings callSettings = null)

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 object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
LookupServiceProjectAttachmentResponse

The RPC response.

Overrides

LookupServiceProjectAttachmentAsync(LookupServiceProjectAttachmentRequest, CallSettings)

public override Task<LookupServiceProjectAttachmentResponse> LookupServiceProjectAttachmentAsync(LookupServiceProjectAttachmentRequest request, CallSettings callSettings = null)

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 object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskLookupServiceProjectAttachmentResponse

A Task containing the RPC response.

Overrides

UpdateApplication(UpdateApplicationRequest, CallSettings)

public override Operation<Application, OperationMetadata> UpdateApplication(UpdateApplicationRequest request, CallSettings callSettings = null)

Updates an Application in a host project and location.

Parameters
Name Description
request UpdateApplicationRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationApplicationOperationMetadata

The RPC response.

Overrides

UpdateApplicationAsync(UpdateApplicationRequest, CallSettings)

public override Task<Operation<Application, OperationMetadata>> UpdateApplicationAsync(UpdateApplicationRequest request, CallSettings callSettings = null)

Updates an Application in a host project and location.

Parameters
Name Description
request UpdateApplicationRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationApplicationOperationMetadata

A Task containing the RPC response.

Overrides

UpdateService(UpdateServiceRequest, CallSettings)

public override Operation<Service, OperationMetadata> UpdateService(UpdateServiceRequest request, CallSettings callSettings = null)

Updates a Service in an Application.

Parameters
Name Description
request UpdateServiceRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationServiceOperationMetadata

The RPC response.

Overrides

UpdateServiceAsync(UpdateServiceRequest, CallSettings)

public override Task<Operation<Service, OperationMetadata>> UpdateServiceAsync(UpdateServiceRequest request, CallSettings callSettings = null)

Updates a Service in an Application.

Parameters
Name Description
request UpdateServiceRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationServiceOperationMetadata

A Task containing the RPC response.

Overrides

UpdateWorkload(UpdateWorkloadRequest, CallSettings)

public override Operation<Workload, OperationMetadata> UpdateWorkload(UpdateWorkloadRequest request, CallSettings callSettings = null)

Updates a Workload in an Application.

Parameters
Name Description
request UpdateWorkloadRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationWorkloadOperationMetadata

The RPC response.

Overrides

UpdateWorkloadAsync(UpdateWorkloadRequest, CallSettings)

public override Task<Operation<Workload, OperationMetadata>> UpdateWorkloadAsync(UpdateWorkloadRequest request, CallSettings callSettings = null)

Updates a Workload in an Application.

Parameters
Name Description
request UpdateWorkloadRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationWorkloadOperationMetadata

A Task containing the RPC response.

Overrides