Show / Hide Table of Contents

Class NetworkServiceClientImpl

NetworkService client wrapper implementation, for convenient use.

Inheritance
object
NetworkServiceClient
NetworkServiceClientImpl
Inherited Members
NetworkServiceClient.DefaultEndpoint
NetworkServiceClient.DefaultScopes
NetworkServiceClient.ServiceMetadata
NetworkServiceClient.CreateAsync(CancellationToken)
NetworkServiceClient.Create()
NetworkServiceClient.ShutdownDefaultChannelsAsync()
NetworkServiceClient.GetNetworkAsync(GetNetworkRequest, CancellationToken)
NetworkServiceClient.GetNetwork(string, CallSettings)
NetworkServiceClient.GetNetworkAsync(string, CallSettings)
NetworkServiceClient.GetNetworkAsync(string, CancellationToken)
NetworkServiceClient.GetNetwork(NetworkName, CallSettings)
NetworkServiceClient.GetNetworkAsync(NetworkName, CallSettings)
NetworkServiceClient.GetNetworkAsync(NetworkName, CancellationToken)
NetworkServiceClient.ListNetworksAsync(ListNetworksRequest, CancellationToken)
object.GetHashCode()
object.GetType()
object.ToString()
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public sealed class NetworkServiceClientImpl : NetworkServiceClient
Remarks

Provides methods for handling Network objects.

Constructors

NetworkServiceClientImpl(NetworkServiceClient, NetworkServiceSettings, ILogger)

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

Declaration
public NetworkServiceClientImpl(NetworkService.NetworkServiceClient grpcClient, NetworkServiceSettings settings, ILogger logger)
Parameters
Type Name Description
NetworkService.NetworkServiceClient grpcClient

The underlying gRPC client.

NetworkServiceSettings settings

The base NetworkServiceSettings used within this client.

ILogger logger

Optional ILogger to use within this client.

Properties

GrpcClient

The underlying gRPC NetworkService client

Declaration
public override NetworkService.NetworkServiceClient GrpcClient { get; }
Property Value
Type Description
NetworkService.NetworkServiceClient
Overrides
NetworkServiceClient.GrpcClient

Methods

GetNetwork(GetNetworkRequest, CallSettings)

API to retrieve a Network object.

Declaration
public override Network GetNetwork(GetNetworkRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
GetNetworkRequest request

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
Network

The RPC response.

Overrides
NetworkServiceClient.GetNetwork(GetNetworkRequest, CallSettings)

GetNetworkAsync(GetNetworkRequest, CallSettings)

API to retrieve a Network object.

Declaration
public override Task<Network> GetNetworkAsync(GetNetworkRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
GetNetworkRequest request

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
Task<Network>

A Task containing the RPC response.

Overrides
NetworkServiceClient.GetNetworkAsync(GetNetworkRequest, CallSettings)

ListNetworks(ListNetworksRequest, CallSettings)

API to retrieve all the networks the current user has access to.

Declaration
public override ListNetworksResponse ListNetworks(ListNetworksRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
ListNetworksRequest request

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
ListNetworksResponse

The RPC response.

Overrides
NetworkServiceClient.ListNetworks(ListNetworksRequest, CallSettings)

ListNetworksAsync(ListNetworksRequest, CallSettings)

API to retrieve all the networks the current user has access to.

Declaration
public override Task<ListNetworksResponse> ListNetworksAsync(ListNetworksRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
ListNetworksRequest request

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
Task<ListNetworksResponse>

A Task containing the RPC response.

Overrides
NetworkServiceClient.ListNetworksAsync(ListNetworksRequest, CallSettings)
In this article
Back to top Generated by DocFX