Class AppHubGrpc.AppHubBlockingStub (0.11.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 App Hub API allows you to manage App Hub resources.

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
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
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
Name Description
request CreateApplicationRequest
Returns
Type Description
Operation

createService(CreateServiceRequest request)

public Operation createService(CreateServiceRequest request)

Creates a Service in an Application.

Parameter
Name Description
request CreateServiceRequest
Returns
Type Description
Operation

createServiceProjectAttachment(CreateServiceProjectAttachmentRequest request)

public Operation createServiceProjectAttachment(CreateServiceProjectAttachmentRequest request)

Attaches a service project to the host project.

Parameter
Name Description
request CreateServiceProjectAttachmentRequest
Returns
Type Description
Operation

createWorkload(CreateWorkloadRequest request)

public Operation createWorkload(CreateWorkloadRequest request)

Creates a Workload in an Application.

Parameter
Name Description
request CreateWorkloadRequest
Returns
Type Description
Operation

deleteApplication(DeleteApplicationRequest request)

public Operation deleteApplication(DeleteApplicationRequest request)

Deletes an Application in a host project and location.

Parameter
Name Description
request DeleteApplicationRequest
Returns
Type Description
Operation

deleteService(DeleteServiceRequest request)

public Operation deleteService(DeleteServiceRequest request)

Deletes a Service from an Application.

Parameter
Name Description
request DeleteServiceRequest
Returns
Type Description
Operation

deleteServiceProjectAttachment(DeleteServiceProjectAttachmentRequest request)

public Operation deleteServiceProjectAttachment(DeleteServiceProjectAttachmentRequest request)

Deletes a service project attachment.

Parameter
Name Description
request DeleteServiceProjectAttachmentRequest
Returns
Type Description
Operation

deleteWorkload(DeleteWorkloadRequest request)

public Operation deleteWorkload(DeleteWorkloadRequest request)

Deletes a Workload from an Application.

Parameter
Name Description
request DeleteWorkloadRequest
Returns
Type Description
Operation

detachServiceProjectAttachment(DetachServiceProjectAttachmentRequest request)

public DetachServiceProjectAttachmentResponse detachServiceProjectAttachment(DetachServiceProjectAttachmentRequest request)

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.

Parameter
Name Description
request DetachServiceProjectAttachmentRequest
Returns
Type Description
DetachServiceProjectAttachmentResponse

getApplication(GetApplicationRequest request)

public Application getApplication(GetApplicationRequest request)

Gets an Application in a host project and location.

Parameter
Name Description
request GetApplicationRequest
Returns
Type Description
Application

getDiscoveredService(GetDiscoveredServiceRequest request)

public DiscoveredService getDiscoveredService(GetDiscoveredServiceRequest request)

Gets a Discovered Service in a host project and location.

Parameter
Name Description
request GetDiscoveredServiceRequest
Returns
Type Description
DiscoveredService

getDiscoveredWorkload(GetDiscoveredWorkloadRequest request)

public DiscoveredWorkload getDiscoveredWorkload(GetDiscoveredWorkloadRequest request)

Gets a Discovered Workload in a host project and location.

Parameter
Name Description
request GetDiscoveredWorkloadRequest
Returns
Type Description
DiscoveredWorkload

getService(GetServiceRequest request)

public Service getService(GetServiceRequest request)

Gets a Service in an Application.

Parameter
Name Description
request GetServiceRequest
Returns
Type Description
Service

getServiceProjectAttachment(GetServiceProjectAttachmentRequest request)

public ServiceProjectAttachment getServiceProjectAttachment(GetServiceProjectAttachmentRequest request)

Gets a service project attachment.

Parameter
Name Description
request GetServiceProjectAttachmentRequest
Returns
Type Description
ServiceProjectAttachment

getWorkload(GetWorkloadRequest request)

public Workload getWorkload(GetWorkloadRequest request)

Gets a Workload in an Application.

Parameter
Name Description
request GetWorkloadRequest
Returns
Type Description
Workload

listApplications(ListApplicationsRequest request)

public ListApplicationsResponse listApplications(ListApplicationsRequest request)

Lists Applications in a host project and location.

Parameter
Name Description
request ListApplicationsRequest
Returns
Type Description
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
Name Description
request ListDiscoveredServicesRequest
Returns
Type Description
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
Name Description
request ListDiscoveredWorkloadsRequest
Returns
Type Description
ListDiscoveredWorkloadsResponse

listServiceProjectAttachments(ListServiceProjectAttachmentsRequest request)

public ListServiceProjectAttachmentsResponse listServiceProjectAttachments(ListServiceProjectAttachmentsRequest request)

Lists service projects attached to the host project.

Parameter
Name Description
request ListServiceProjectAttachmentsRequest
Returns
Type Description
ListServiceProjectAttachmentsResponse

listServices(ListServicesRequest request)

public ListServicesResponse listServices(ListServicesRequest request)

Lists Services in an Application.

Parameter
Name Description
request ListServicesRequest
Returns
Type Description
ListServicesResponse

listWorkloads(ListWorkloadsRequest request)

public ListWorkloadsResponse listWorkloads(ListWorkloadsRequest request)

Lists Workloads in an Application.

Parameter
Name Description
request ListWorkloadsRequest
Returns
Type Description
ListWorkloadsResponse

lookupDiscoveredService(LookupDiscoveredServiceRequest request)

public LookupDiscoveredServiceResponse lookupDiscoveredService(LookupDiscoveredServiceRequest request)

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

Parameter
Name Description
request LookupDiscoveredServiceRequest
Returns
Type Description
LookupDiscoveredServiceResponse

lookupDiscoveredWorkload(LookupDiscoveredWorkloadRequest request)

public LookupDiscoveredWorkloadResponse lookupDiscoveredWorkload(LookupDiscoveredWorkloadRequest request)

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

Parameter
Name Description
request LookupDiscoveredWorkloadRequest
Returns
Type Description
LookupDiscoveredWorkloadResponse

lookupServiceProjectAttachment(LookupServiceProjectAttachmentRequest request)

public LookupServiceProjectAttachmentResponse lookupServiceProjectAttachment(LookupServiceProjectAttachmentRequest request)

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.

Parameter
Name Description
request LookupServiceProjectAttachmentRequest
Returns
Type Description
LookupServiceProjectAttachmentResponse

updateApplication(UpdateApplicationRequest request)

public Operation updateApplication(UpdateApplicationRequest request)

Updates an Application in a host project and location.

Parameter
Name Description
request UpdateApplicationRequest
Returns
Type Description
Operation

updateService(UpdateServiceRequest request)

public Operation updateService(UpdateServiceRequest request)

Updates a Service in an Application.

Parameter
Name Description
request UpdateServiceRequest
Returns
Type Description
Operation

updateWorkload(UpdateWorkloadRequest request)

public Operation updateWorkload(UpdateWorkloadRequest request)

Updates a Workload in an Application.

Parameter
Name Description
request UpdateWorkloadRequest
Returns
Type Description
Operation