Class AppHubGrpc.AppHubBlockingStub (0.1.0)

public static final class AppHubGrpc.AppHubBlockingStub extends AbstractBlockingStub<AppHubGrpc.AppHubBlockingStub>

A stub to allow clients to do synchronous rpc calls to service AppHub.

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

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractBlockingStub > AppHubGrpc.AppHubBlockingStub

Methods

build(Channel channel, CallOptions callOptions)

protected AppHubGrpc.AppHubBlockingStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
AppHubGrpc.AppHubBlockingStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createApplication(CreateApplicationRequest request)

public Operation createApplication(CreateApplicationRequest request)

Creates an Application in a host project and location.

Parameter
NameDescription
requestCreateApplicationRequest
Returns
TypeDescription
Operation

createService(CreateServiceRequest request)

public Operation createService(CreateServiceRequest request)

Creates a Service in an Application.

Parameter
NameDescription
requestCreateServiceRequest
Returns
TypeDescription
Operation

createServiceProjectAttachment(CreateServiceProjectAttachmentRequest request)

public Operation createServiceProjectAttachment(CreateServiceProjectAttachmentRequest request)

Attaches a service project to the host project.

Parameter
NameDescription
requestCreateServiceProjectAttachmentRequest
Returns
TypeDescription
Operation

createWorkload(CreateWorkloadRequest request)

public Operation createWorkload(CreateWorkloadRequest request)

Creates a Workload in an Application.

Parameter
NameDescription
requestCreateWorkloadRequest
Returns
TypeDescription
Operation

deleteApplication(DeleteApplicationRequest request)

public Operation deleteApplication(DeleteApplicationRequest request)

Deletes an Application in a host project and location.

Parameter
NameDescription
requestDeleteApplicationRequest
Returns
TypeDescription
Operation

deleteService(DeleteServiceRequest request)

public Operation deleteService(DeleteServiceRequest request)

Deletes a Service in an Application.

Parameter
NameDescription
requestDeleteServiceRequest
Returns
TypeDescription
Operation

deleteServiceProjectAttachment(DeleteServiceProjectAttachmentRequest request)

public Operation deleteServiceProjectAttachment(DeleteServiceProjectAttachmentRequest request)

Deletes a service project attached to the host project.

Parameter
NameDescription
requestDeleteServiceProjectAttachmentRequest
Returns
TypeDescription
Operation

deleteWorkload(DeleteWorkloadRequest request)

public Operation deleteWorkload(DeleteWorkloadRequest request)

Deletes a Workload in an Application.

Parameter
NameDescription
requestDeleteWorkloadRequest
Returns
TypeDescription
Operation

detachServiceProjectAttachment(DetachServiceProjectAttachmentRequest request)

public DetachServiceProjectAttachmentResponse detachServiceProjectAttachment(DetachServiceProjectAttachmentRequest request)

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

Parameter
NameDescription
requestDetachServiceProjectAttachmentRequest
Returns
TypeDescription
DetachServiceProjectAttachmentResponse

getApplication(GetApplicationRequest request)

public Application getApplication(GetApplicationRequest request)

Gets an Application in a host project and location.

Parameter
NameDescription
requestGetApplicationRequest
Returns
TypeDescription
Application

getDiscoveredService(GetDiscoveredServiceRequest request)

public DiscoveredService getDiscoveredService(GetDiscoveredServiceRequest request)

Gets a discovered service in a host project and location.

Parameter
NameDescription
requestGetDiscoveredServiceRequest
Returns
TypeDescription
DiscoveredService

getDiscoveredWorkload(GetDiscoveredWorkloadRequest request)

public DiscoveredWorkload getDiscoveredWorkload(GetDiscoveredWorkloadRequest request)

Gets a discovered workload in a host project and location.

Parameter
NameDescription
requestGetDiscoveredWorkloadRequest
Returns
TypeDescription
DiscoveredWorkload

getService(GetServiceRequest request)

public Service getService(GetServiceRequest request)

Gets a Service in an Application.

Parameter
NameDescription
requestGetServiceRequest
Returns
TypeDescription
Service

getServiceProjectAttachment(GetServiceProjectAttachmentRequest request)

public ServiceProjectAttachment getServiceProjectAttachment(GetServiceProjectAttachmentRequest request)

Gets a service project attached to the host project.

Parameter
NameDescription
requestGetServiceProjectAttachmentRequest
Returns
TypeDescription
ServiceProjectAttachment

getWorkload(GetWorkloadRequest request)

public Workload getWorkload(GetWorkloadRequest request)

Gets a Workload in an Application.

Parameter
NameDescription
requestGetWorkloadRequest
Returns
TypeDescription
Workload

listApplications(ListApplicationsRequest request)

public ListApplicationsResponse listApplications(ListApplicationsRequest request)

Lists Applications in a host project and location.

Parameter
NameDescription
requestListApplicationsRequest
Returns
TypeDescription
ListApplicationsResponse

listDiscoveredServices(ListDiscoveredServicesRequest request)

public ListDiscoveredServicesResponse listDiscoveredServices(ListDiscoveredServicesRequest request)

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

Parameter
NameDescription
requestListDiscoveredServicesRequest
Returns
TypeDescription
ListDiscoveredServicesResponse

listDiscoveredWorkloads(ListDiscoveredWorkloadsRequest request)

public ListDiscoveredWorkloadsResponse listDiscoveredWorkloads(ListDiscoveredWorkloadsRequest request)

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

Parameter
NameDescription
requestListDiscoveredWorkloadsRequest
Returns
TypeDescription
ListDiscoveredWorkloadsResponse

listServiceProjectAttachments(ListServiceProjectAttachmentsRequest request)

public ListServiceProjectAttachmentsResponse listServiceProjectAttachments(ListServiceProjectAttachmentsRequest request)

List service projects attached to the host project.

Parameter
NameDescription
requestListServiceProjectAttachmentsRequest
Returns
TypeDescription
ListServiceProjectAttachmentsResponse

listServices(ListServicesRequest request)

public ListServicesResponse listServices(ListServicesRequest request)

List Services in an Application.

Parameter
NameDescription
requestListServicesRequest
Returns
TypeDescription
ListServicesResponse

listWorkloads(ListWorkloadsRequest request)

public ListWorkloadsResponse listWorkloads(ListWorkloadsRequest request)

Lists Workloads in an Application.

Parameter
NameDescription
requestListWorkloadsRequest
Returns
TypeDescription
ListWorkloadsResponse

lookupDiscoveredService(LookupDiscoveredServiceRequest request)

public LookupDiscoveredServiceResponse lookupDiscoveredService(LookupDiscoveredServiceRequest request)

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

Parameter
NameDescription
requestLookupDiscoveredServiceRequest
Returns
TypeDescription
LookupDiscoveredServiceResponse

lookupDiscoveredWorkload(LookupDiscoveredWorkloadRequest request)

public LookupDiscoveredWorkloadResponse lookupDiscoveredWorkload(LookupDiscoveredWorkloadRequest request)

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

Parameter
NameDescription
requestLookupDiscoveredWorkloadRequest
Returns
TypeDescription
LookupDiscoveredWorkloadResponse

lookupServiceProjectAttachment(LookupServiceProjectAttachmentRequest request)

public LookupServiceProjectAttachmentResponse lookupServiceProjectAttachment(LookupServiceProjectAttachmentRequest request)

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

Parameter
NameDescription
requestLookupServiceProjectAttachmentRequest
Returns
TypeDescription
LookupServiceProjectAttachmentResponse

updateApplication(UpdateApplicationRequest request)

public Operation updateApplication(UpdateApplicationRequest request)

Updates an Application in a host project and location.

Parameter
NameDescription
requestUpdateApplicationRequest
Returns
TypeDescription
Operation

updateService(UpdateServiceRequest request)

public Operation updateService(UpdateServiceRequest request)

Updates a Service in an Application.

Parameter
NameDescription
requestUpdateServiceRequest
Returns
TypeDescription
Operation

updateWorkload(UpdateWorkloadRequest request)

public Operation updateWorkload(UpdateWorkloadRequest request)

Updates a Workload in an Application.

Parameter
NameDescription
requestUpdateWorkloadRequest
Returns
TypeDescription
Operation