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 | |
---|---|
Name | Description |
request | CreateApplicationRequest |
responseObserver | io.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 | |
---|---|
Name | Description |
request | CreateServiceRequest |
responseObserver | io.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 | |
---|---|
Name | Description |
request | CreateServiceProjectAttachmentRequest |
responseObserver | io.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 | |
---|---|
Name | Description |
request | CreateWorkloadRequest |
responseObserver | io.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 | |
---|---|
Name | Description |
request | DeleteApplicationRequest |
responseObserver | io.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 | |
---|---|
Name | Description |
request | DeleteServiceRequest |
responseObserver | io.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 | |
---|---|
Name | Description |
request | DeleteServiceProjectAttachmentRequest |
responseObserver | io.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 | |
---|---|
Name | Description |
request | DeleteWorkloadRequest |
responseObserver | io.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 | |
---|---|
Name | Description |
request | DetachServiceProjectAttachmentRequest |
responseObserver | io.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 | |
---|---|
Name | Description |
request | GetApplicationRequest |
responseObserver | io.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 | |
---|---|
Name | Description |
request | GetDiscoveredServiceRequest |
responseObserver | io.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 | |
---|---|
Name | Description |
request | GetDiscoveredWorkloadRequest |
responseObserver | io.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 | |
---|---|
Name | Description |
request | GetServiceRequest |
responseObserver | io.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 | |
---|---|
Name | Description |
request | GetServiceProjectAttachmentRequest |
responseObserver | io.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 | |
---|---|
Name | Description |
request | GetWorkloadRequest |
responseObserver | io.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 | |
---|---|
Name | Description |
request | ListApplicationsRequest |
responseObserver | io.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 | |
---|---|
Name | Description |
request | ListDiscoveredServicesRequest |
responseObserver | io.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 | |
---|---|
Name | Description |
request | ListDiscoveredWorkloadsRequest |
responseObserver | io.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 | |
---|---|
Name | Description |
request | ListServiceProjectAttachmentsRequest |
responseObserver | io.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 | |
---|---|
Name | Description |
request | ListServicesRequest |
responseObserver | io.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 | |
---|---|
Name | Description |
request | ListWorkloadsRequest |
responseObserver | io.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 | |
---|---|
Name | Description |
request | LookupDiscoveredServiceRequest |
responseObserver | io.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 | |
---|---|
Name | Description |
request | LookupDiscoveredWorkloadRequest |
responseObserver | io.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 | |
---|---|
Name | Description |
request | LookupServiceProjectAttachmentRequest |
responseObserver | io.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 | |
---|---|
Name | Description |
request | UpdateApplicationRequest |
responseObserver | io.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 | |
---|---|
Name | Description |
request | UpdateServiceRequest |
responseObserver | io.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 | |
---|---|
Name | Description |
request | UpdateWorkloadRequest |
responseObserver | io.grpc.stub.StreamObserver<Operation> |