Class AppHubGrpc.AppHubBlockingStub (0.3.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
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 from an Application.

Parameter
NameDescription
requestDeleteServiceRequest
Returns
TypeDescription
Operation

deleteServiceProjectAttachment(DeleteServiceProjectAttachmentRequest request)

public Operation deleteServiceProjectAttachment(DeleteServiceProjectAttachmentRequest request)

Deletes a service project attachment.

Parameter
NameDescription
requestDeleteServiceProjectAttachmentRequest
Returns
TypeDescription
Operation

deleteWorkload(DeleteWorkloadRequest request)

public Operation deleteWorkload(DeleteWorkloadRequest request)

Deletes a Workload from 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 any service project without needing access to the host project that it is attached to.

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 attachment.

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)

Lists service projects attached to the host project.

Parameter
NameDescription
requestListServiceProjectAttachmentsRequest
Returns
TypeDescription
ListServiceProjectAttachmentsResponse

listServices(ListServicesRequest request)

public ListServicesResponse listServices(ListServicesRequest request)

Lists 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)

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

Parameter
NameDescription
requestLookupDiscoveredServiceRequest
Returns
TypeDescription
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
NameDescription
requestLookupDiscoveredWorkloadRequest
Returns
TypeDescription
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
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