[BindServiceMethod(typeof(AppTopology), "BindService")]
public abstract class AppTopology.AppTopologyBaseReference documentation and code samples for the App Topology v1 API class AppTopology.AppTopologyBase.
Base class for server-side implementations of AppTopology
Namespace
Google.Cloud.AppTopology.V1Assembly
Google.Cloud.AppTopology.V1.dll
Methods
GenerateDiscoveredResourcesTopology(GenerateDiscoveredResourcesTopologyRequest, ServerCallContext)
public virtual Task<GenerateDiscoveredResourcesTopologyResponse> GenerateDiscoveredResourcesTopology(GenerateDiscoveredResourcesTopologyRequest request, ServerCallContext context)Generate the topology for all resources in the given project. If the project represents an app boundary, the topology is generated for all resources in the boundary.
| Parameters | |
|---|---|
| Name | Description |
request |
GenerateDiscoveredResourcesTopologyRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskGenerateDiscoveredResourcesTopologyResponse |
The response to send back to the client (wrapped by a task). |
GetDomain(GetDomainRequest, ServerCallContext)
public virtual Task<Domain> GetDomain(GetDomainRequest request, ServerCallContext context)Retrieves the specified topology domain.
| Parameters | |
|---|---|
| Name | Description |
request |
GetDomainRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskDomain |
The response to send back to the client (wrapped by a task). |
GetSchema(GetSchemaRequest, ServerCallContext)
public virtual Task<Schema> GetSchema(GetSchemaRequest request, ServerCallContext context)Retrieves the schema for the specified topology domain. The schema defines the NodeTypes and EdgeTypes that are supported in GenerateDiscoveredResourcesTopology requests and responses for a given domain.
| Parameters | |
|---|---|
| Name | Description |
request |
GetSchemaRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskSchema |
The response to send back to the client (wrapped by a task). |
ListDomains(ListDomainsRequest, ServerCallContext)
public virtual Task<ListDomainsResponse> ListDomains(ListDomainsRequest request, ServerCallContext context)Lists the topology domains available in a specific location.
Only global location is supported.
| Parameters | |
|---|---|
| Name | Description |
request |
ListDomainsRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskListDomainsResponse |
The response to send back to the client (wrapped by a task). |