Show / Hide Table of Contents

Class UserServiceClientImpl

UserService client wrapper implementation, for convenient use.

Inheritance
object
UserServiceClient
UserServiceClientImpl
Inherited Members
UserServiceClient.DefaultEndpoint
UserServiceClient.DefaultScopes
UserServiceClient.ServiceMetadata
UserServiceClient.CreateAsync(CancellationToken)
UserServiceClient.Create()
UserServiceClient.ShutdownDefaultChannelsAsync()
UserServiceClient.GetUserAsync(GetUserRequest, CancellationToken)
UserServiceClient.GetUser(string, CallSettings)
UserServiceClient.GetUserAsync(string, CallSettings)
UserServiceClient.GetUserAsync(string, CancellationToken)
UserServiceClient.GetUser(UserName, CallSettings)
UserServiceClient.GetUserAsync(UserName, CallSettings)
UserServiceClient.GetUserAsync(UserName, CancellationToken)
object.GetHashCode()
object.GetType()
object.ToString()
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public sealed class UserServiceClientImpl : UserServiceClient
Remarks

Provides methods for handling User objects.

Constructors

UserServiceClientImpl(UserServiceClient, UserServiceSettings, ILogger)

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

Declaration
public UserServiceClientImpl(UserService.UserServiceClient grpcClient, UserServiceSettings settings, ILogger logger)
Parameters
Type Name Description
UserService.UserServiceClient grpcClient

The underlying gRPC client.

UserServiceSettings settings

The base UserServiceSettings used within this client.

ILogger logger

Optional ILogger to use within this client.

Properties

GrpcClient

The underlying gRPC UserService client

Declaration
public override UserService.UserServiceClient GrpcClient { get; }
Property Value
Type Description
UserService.UserServiceClient
Overrides
UserServiceClient.GrpcClient

Methods

GetUser(GetUserRequest, CallSettings)

API to retrieve a User object.

To get the current user, the resource name networks/{networkCode}/users/me can be used.

Declaration
public override User GetUser(GetUserRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
GetUserRequest 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
User

The RPC response.

Overrides
UserServiceClient.GetUser(GetUserRequest, CallSettings)

GetUserAsync(GetUserRequest, CallSettings)

API to retrieve a User object.

To get the current user, the resource name networks/{networkCode}/users/me can be used.

Declaration
public override Task<User> GetUserAsync(GetUserRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
GetUserRequest 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<User>

A Task containing the RPC response.

Overrides
UserServiceClient.GetUserAsync(GetUserRequest, CallSettings)
In this article
Back to top Generated by DocFX