App Topology v1 API - Class AppTopology.AppTopologyBase (1.0.0-beta01)

[BindServiceMethod(typeof(AppTopology), "BindService")]
public abstract class AppTopology.AppTopologyBase

Reference documentation and code samples for the App Topology v1 API class AppTopology.AppTopologyBase.

Base class for server-side implementations of AppTopology

Inheritance

object > AppTopology.AppTopologyBase

Namespace

Google.Cloud.AppTopology.V1

Assembly

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 GenerateDiscoveredResourcesTopologyRequest

The request received from the client.

context ServerCallContext

The 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 GetDomainRequest

The request received from the client.

context ServerCallContext

The 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 GetSchemaRequest

The request received from the client.

context ServerCallContext

The 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 ListDomainsRequest

The request received from the client.

context ServerCallContext

The 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).