public sealed class AppTopologyClientImpl : AppTopologyClientReference documentation and code samples for the App Topology v1 API class AppTopologyClientImpl.
AppTopology client wrapper implementation, for convenient use.
Namespace
Google.Cloud.AppTopology.V1Assembly
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 |
AppTopologyAppTopologyClientThe underlying gRPC client. |
settings |
AppTopologySettingsThe base AppTopologySettings used within this client. |
logger |
ILoggerOptional ILogger to use within this client. |
Properties
GrpcClient
public override AppTopology.AppTopologyClient GrpcClient { get; }The underlying gRPC AppTopology client
| Property Value | |
|---|---|
| Type | Description |
AppTopologyAppTopologyClient |
|
LocationsClient
public override LocationsClient LocationsClient { get; }The LocationsClient associated with this client.
| Property Value | |
|---|---|
| Type | Description |
LocationsClient |
|
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 |
GenerateDiscoveredResourcesTopologyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
GenerateDiscoveredResourcesTopologyResponse |
The RPC response. |
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 |
GenerateDiscoveredResourcesTopologyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskGenerateDiscoveredResourcesTopologyResponse |
A Task containing the RPC response. |
GetDomain(GetDomainRequest, CallSettings)
public override Domain GetDomain(GetDomainRequest request, CallSettings callSettings = null)Retrieves the specified topology domain.
| Parameters | |
|---|---|
| Name | Description |
request |
GetDomainRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Domain |
The RPC response. |
GetDomainAsync(GetDomainRequest, CallSettings)
public override Task<Domain> GetDomainAsync(GetDomainRequest request, CallSettings callSettings = null)Retrieves the specified topology domain.
| Parameters | |
|---|---|
| Name | Description |
request |
GetDomainRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskDomain |
A Task containing the RPC response. |
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 |
GetSchemaRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Schema |
The RPC response. |
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 |
GetSchemaRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskSchema |
A Task containing the RPC response. |
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 |
ListDomainsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListDomainsResponseDomain |
A pageable sequence of Domain resources. |
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 |
ListDomainsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListDomainsResponseDomain |
A pageable asynchronous sequence of Domain resources. |