App Topology v1 API - Class AppTopologyClientImpl (1.0.0-beta01)

public sealed class AppTopologyClientImpl : AppTopologyClient

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

AppTopology client wrapper implementation, for convenient use.

Inheritance

object > AppTopologyClient > AppTopologyClientImpl

Namespace

Google.Cloud.AppTopology.V1

Assembly

Google.Cloud.AppTopology.V1.dll

Remarks

Service describing handlers for resources

Constructors

AppTopologyClientImpl(AppTopologyClient, AppTopologySettings, ILogger)

public AppTopologyClientImpl(AppTopology.AppTopologyClient grpcClient, AppTopologySettings settings, ILogger logger)

Constructs a client wrapper for the AppTopology service, with the specified gRPC client and settings.

Parameters
Name Description
grpcClient AppTopologyAppTopologyClient

The underlying gRPC client.

settings AppTopologySettings

The base AppTopologySettings used within this client.

logger ILogger

Optional ILogger to use within this client.

Properties

GrpcClient

public override AppTopology.AppTopologyClient GrpcClient { get; }

The underlying gRPC AppTopology client

Property Value
Type Description
AppTopologyAppTopologyClient
Overrides

LocationsClient

public override LocationsClient LocationsClient { get; }

The LocationsClient associated with this client.

Property Value
Type Description
LocationsClient
Overrides

Methods

GenerateDiscoveredResourcesTopology(GenerateDiscoveredResourcesTopologyRequest, CallSettings)

public override GenerateDiscoveredResourcesTopologyResponse GenerateDiscoveredResourcesTopology(GenerateDiscoveredResourcesTopologyRequest request, CallSettings callSettings = null)

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 object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
GenerateDiscoveredResourcesTopologyResponse

The RPC response.

Overrides

GenerateDiscoveredResourcesTopologyAsync(GenerateDiscoveredResourcesTopologyRequest, CallSettings)

public override Task<GenerateDiscoveredResourcesTopologyResponse> GenerateDiscoveredResourcesTopologyAsync(GenerateDiscoveredResourcesTopologyRequest request, CallSettings callSettings = null)

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 object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskGenerateDiscoveredResourcesTopologyResponse

A Task containing the RPC response.

Overrides

GetDomain(GetDomainRequest, CallSettings)

public override Domain GetDomain(GetDomainRequest request, CallSettings callSettings = null)

Retrieves the specified topology domain.

Parameters
Name Description
request GetDomainRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Domain

The RPC response.

Overrides

GetDomainAsync(GetDomainRequest, CallSettings)

public override Task<Domain> GetDomainAsync(GetDomainRequest request, CallSettings callSettings = null)

Retrieves the specified topology domain.

Parameters
Name Description
request GetDomainRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskDomain

A Task containing the RPC response.

Overrides

GetSchema(GetSchemaRequest, CallSettings)

public override Schema GetSchema(GetSchemaRequest request, CallSettings callSettings = null)

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 object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Schema

The RPC response.

Overrides

GetSchemaAsync(GetSchemaRequest, CallSettings)

public override Task<Schema> GetSchemaAsync(GetSchemaRequest request, CallSettings callSettings = null)

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 object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskSchema

A Task containing the RPC response.

Overrides

ListDomains(ListDomainsRequest, CallSettings)

public override PagedEnumerable<ListDomainsResponse, Domain> ListDomains(ListDomainsRequest request, CallSettings callSettings = null)

Lists the topology domains available in a specific location. Only global location is supported.

Parameters
Name Description
request ListDomainsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListDomainsResponseDomain

A pageable sequence of Domain resources.

Overrides

ListDomainsAsync(ListDomainsRequest, CallSettings)

public override PagedAsyncEnumerable<ListDomainsResponse, Domain> ListDomainsAsync(ListDomainsRequest request, CallSettings callSettings = null)

Lists the topology domains available in a specific location. Only global location is supported.

Parameters
Name Description
request ListDomainsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListDomainsResponseDomain

A pageable asynchronous sequence of Domain resources.

Overrides