Interface AppHubGrpc.AsyncService (0.1.0)

public static interface AppHubGrpc.AsyncService

The AppHub services allows users to enable toplogy and telemetry configuration.

Methods

createApplication(CreateApplicationRequest request, StreamObserver<Operation> responseObserver)

public default void createApplication(CreateApplicationRequest request, StreamObserver<Operation> responseObserver)

Creates an Application in a host project and location.

Parameters
NameDescription
requestCreateApplicationRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

createService(CreateServiceRequest request, StreamObserver<Operation> responseObserver)

public default void createService(CreateServiceRequest request, StreamObserver<Operation> responseObserver)

Creates a Service in an Application.

Parameters
NameDescription
requestCreateServiceRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

createServiceProjectAttachment(CreateServiceProjectAttachmentRequest request, StreamObserver<Operation> responseObserver)

public default void createServiceProjectAttachment(CreateServiceProjectAttachmentRequest request, StreamObserver<Operation> responseObserver)

Attaches a service project to the host project.

Parameters
NameDescription
requestCreateServiceProjectAttachmentRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

createWorkload(CreateWorkloadRequest request, StreamObserver<Operation> responseObserver)

public default void createWorkload(CreateWorkloadRequest request, StreamObserver<Operation> responseObserver)

Creates a Workload in an Application.

Parameters
NameDescription
requestCreateWorkloadRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

deleteApplication(DeleteApplicationRequest request, StreamObserver<Operation> responseObserver)

public default void deleteApplication(DeleteApplicationRequest request, StreamObserver<Operation> responseObserver)

Deletes an Application in a host project and location.

Parameters
NameDescription
requestDeleteApplicationRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

deleteService(DeleteServiceRequest request, StreamObserver<Operation> responseObserver)

public default void deleteService(DeleteServiceRequest request, StreamObserver<Operation> responseObserver)

Deletes a Service in an Application.

Parameters
NameDescription
requestDeleteServiceRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

deleteServiceProjectAttachment(DeleteServiceProjectAttachmentRequest request, StreamObserver<Operation> responseObserver)

public default void deleteServiceProjectAttachment(DeleteServiceProjectAttachmentRequest request, StreamObserver<Operation> responseObserver)

Deletes a service project attached to the host project.

Parameters
NameDescription
requestDeleteServiceProjectAttachmentRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

deleteWorkload(DeleteWorkloadRequest request, StreamObserver<Operation> responseObserver)

public default void deleteWorkload(DeleteWorkloadRequest request, StreamObserver<Operation> responseObserver)

Deletes a Workload in an Application.

Parameters
NameDescription
requestDeleteWorkloadRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

detachServiceProjectAttachment(DetachServiceProjectAttachmentRequest request, StreamObserver<DetachServiceProjectAttachmentResponse> responseObserver)

public default void detachServiceProjectAttachment(DetachServiceProjectAttachmentRequest request, StreamObserver<DetachServiceProjectAttachmentResponse> responseObserver)

Detaches a service project from a host project. You can call this API from either a host or service project.

Parameters
NameDescription
requestDetachServiceProjectAttachmentRequest
responseObserverio.grpc.stub.StreamObserver<DetachServiceProjectAttachmentResponse>

getApplication(GetApplicationRequest request, StreamObserver<Application> responseObserver)

public default void getApplication(GetApplicationRequest request, StreamObserver<Application> responseObserver)

Gets an Application in a host project and location.

Parameters
NameDescription
requestGetApplicationRequest
responseObserverio.grpc.stub.StreamObserver<Application>

getDiscoveredService(GetDiscoveredServiceRequest request, StreamObserver<DiscoveredService> responseObserver)

public default void getDiscoveredService(GetDiscoveredServiceRequest request, StreamObserver<DiscoveredService> responseObserver)

Gets a discovered service in a host project and location.

Parameters
NameDescription
requestGetDiscoveredServiceRequest
responseObserverio.grpc.stub.StreamObserver<DiscoveredService>

getDiscoveredWorkload(GetDiscoveredWorkloadRequest request, StreamObserver<DiscoveredWorkload> responseObserver)

public default void getDiscoveredWorkload(GetDiscoveredWorkloadRequest request, StreamObserver<DiscoveredWorkload> responseObserver)

Gets a discovered workload in a host project and location.

Parameters
NameDescription
requestGetDiscoveredWorkloadRequest
responseObserverio.grpc.stub.StreamObserver<DiscoveredWorkload>

getService(GetServiceRequest request, StreamObserver<Service> responseObserver)

public default void getService(GetServiceRequest request, StreamObserver<Service> responseObserver)

Gets a Service in an Application.

Parameters
NameDescription
requestGetServiceRequest
responseObserverio.grpc.stub.StreamObserver<Service>

getServiceProjectAttachment(GetServiceProjectAttachmentRequest request, StreamObserver<ServiceProjectAttachment> responseObserver)

public default void getServiceProjectAttachment(GetServiceProjectAttachmentRequest request, StreamObserver<ServiceProjectAttachment> responseObserver)

Gets a service project attached to the host project.

Parameters
NameDescription
requestGetServiceProjectAttachmentRequest
responseObserverio.grpc.stub.StreamObserver<ServiceProjectAttachment>

getWorkload(GetWorkloadRequest request, StreamObserver<Workload> responseObserver)

public default void getWorkload(GetWorkloadRequest request, StreamObserver<Workload> responseObserver)

Gets a Workload in an Application.

Parameters
NameDescription
requestGetWorkloadRequest
responseObserverio.grpc.stub.StreamObserver<Workload>

listApplications(ListApplicationsRequest request, StreamObserver<ListApplicationsResponse> responseObserver)

public default void listApplications(ListApplicationsRequest request, StreamObserver<ListApplicationsResponse> responseObserver)

Lists Applications in a host project and location.

Parameters
NameDescription
requestListApplicationsRequest
responseObserverio.grpc.stub.StreamObserver<ListApplicationsResponse>

listDiscoveredServices(ListDiscoveredServicesRequest request, StreamObserver<ListDiscoveredServicesResponse> responseObserver)

public default void listDiscoveredServices(ListDiscoveredServicesRequest request, StreamObserver<ListDiscoveredServicesResponse> responseObserver)

Lists discovered services that can be added to an application in a host project and location.

Parameters
NameDescription
requestListDiscoveredServicesRequest
responseObserverio.grpc.stub.StreamObserver<ListDiscoveredServicesResponse>

listDiscoveredWorkloads(ListDiscoveredWorkloadsRequest request, StreamObserver<ListDiscoveredWorkloadsResponse> responseObserver)

public default void listDiscoveredWorkloads(ListDiscoveredWorkloadsRequest request, StreamObserver<ListDiscoveredWorkloadsResponse> responseObserver)

Lists discovered workloads that can be added to an application in a host project and location.

Parameters
NameDescription
requestListDiscoveredWorkloadsRequest
responseObserverio.grpc.stub.StreamObserver<ListDiscoveredWorkloadsResponse>

listServiceProjectAttachments(ListServiceProjectAttachmentsRequest request, StreamObserver<ListServiceProjectAttachmentsResponse> responseObserver)

public default void listServiceProjectAttachments(ListServiceProjectAttachmentsRequest request, StreamObserver<ListServiceProjectAttachmentsResponse> responseObserver)

List service projects attached to the host project.

Parameters
NameDescription
requestListServiceProjectAttachmentsRequest
responseObserverio.grpc.stub.StreamObserver<ListServiceProjectAttachmentsResponse>

listServices(ListServicesRequest request, StreamObserver<ListServicesResponse> responseObserver)

public default void listServices(ListServicesRequest request, StreamObserver<ListServicesResponse> responseObserver)

List Services in an Application.

Parameters
NameDescription
requestListServicesRequest
responseObserverio.grpc.stub.StreamObserver<ListServicesResponse>

listWorkloads(ListWorkloadsRequest request, StreamObserver<ListWorkloadsResponse> responseObserver)

public default void listWorkloads(ListWorkloadsRequest request, StreamObserver<ListWorkloadsResponse> responseObserver)

Lists Workloads in an Application.

Parameters
NameDescription
requestListWorkloadsRequest
responseObserverio.grpc.stub.StreamObserver<ListWorkloadsResponse>

lookupDiscoveredService(LookupDiscoveredServiceRequest request, StreamObserver<LookupDiscoveredServiceResponse> responseObserver)

public default void lookupDiscoveredService(LookupDiscoveredServiceRequest request, StreamObserver<LookupDiscoveredServiceResponse> responseObserver)

Looks up a discovered service in a host project and location and with a given resource URI.

Parameters
NameDescription
requestLookupDiscoveredServiceRequest
responseObserverio.grpc.stub.StreamObserver<LookupDiscoveredServiceResponse>

lookupDiscoveredWorkload(LookupDiscoveredWorkloadRequest request, StreamObserver<LookupDiscoveredWorkloadResponse> responseObserver)

public default void lookupDiscoveredWorkload(LookupDiscoveredWorkloadRequest request, StreamObserver<LookupDiscoveredWorkloadResponse> responseObserver)

Looks up a discovered Workload in a host project and location and with a given resource URI.

Parameters
NameDescription
requestLookupDiscoveredWorkloadRequest
responseObserverio.grpc.stub.StreamObserver<LookupDiscoveredWorkloadResponse>

lookupServiceProjectAttachment(LookupServiceProjectAttachmentRequest request, StreamObserver<LookupServiceProjectAttachmentResponse> responseObserver)

public default void lookupServiceProjectAttachment(LookupServiceProjectAttachmentRequest request, StreamObserver<LookupServiceProjectAttachmentResponse> responseObserver)

Looks up a service project attachment. You can call this API from either a host or service project.

Parameters
NameDescription
requestLookupServiceProjectAttachmentRequest
responseObserverio.grpc.stub.StreamObserver<LookupServiceProjectAttachmentResponse>

updateApplication(UpdateApplicationRequest request, StreamObserver<Operation> responseObserver)

public default void updateApplication(UpdateApplicationRequest request, StreamObserver<Operation> responseObserver)

Updates an Application in a host project and location.

Parameters
NameDescription
requestUpdateApplicationRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

updateService(UpdateServiceRequest request, StreamObserver<Operation> responseObserver)

public default void updateService(UpdateServiceRequest request, StreamObserver<Operation> responseObserver)

Updates a Service in an Application.

Parameters
NameDescription
requestUpdateServiceRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

updateWorkload(UpdateWorkloadRequest request, StreamObserver<Operation> responseObserver)

public default void updateWorkload(UpdateWorkloadRequest request, StreamObserver<Operation> responseObserver)

Updates a Workload in an Application.

Parameters
NameDescription
requestUpdateWorkloadRequest
responseObserverio.grpc.stub.StreamObserver<Operation>