Show / Hide Table of Contents

Class RoleServiceClientImpl

RoleService client wrapper implementation, for convenient use.

Inheritance
object
RoleServiceClient
RoleServiceClientImpl
Inherited Members
RoleServiceClient.DefaultEndpoint
RoleServiceClient.DefaultScopes
RoleServiceClient.ServiceMetadata
RoleServiceClient.CreateAsync(CancellationToken)
RoleServiceClient.Create()
RoleServiceClient.ShutdownDefaultChannelsAsync()
RoleServiceClient.GetRoleAsync(GetRoleRequest, CancellationToken)
RoleServiceClient.GetRole(string, CallSettings)
RoleServiceClient.GetRoleAsync(string, CallSettings)
RoleServiceClient.GetRoleAsync(string, CancellationToken)
RoleServiceClient.GetRole(RoleName, CallSettings)
RoleServiceClient.GetRoleAsync(RoleName, CallSettings)
RoleServiceClient.GetRoleAsync(RoleName, CancellationToken)
RoleServiceClient.ListRoles(string, string, int?, CallSettings)
RoleServiceClient.ListRolesAsync(string, string, int?, CallSettings)
RoleServiceClient.ListRoles(NetworkName, string, int?, CallSettings)
RoleServiceClient.ListRolesAsync(NetworkName, string, int?, CallSettings)
object.GetHashCode()
object.GetType()
object.ToString()
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public sealed class RoleServiceClientImpl : RoleServiceClient
Remarks

Provides methods for handling Role objects.

Constructors

RoleServiceClientImpl(RoleServiceClient, RoleServiceSettings, ILogger)

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

Declaration
public RoleServiceClientImpl(RoleService.RoleServiceClient grpcClient, RoleServiceSettings settings, ILogger logger)
Parameters
Type Name Description
RoleService.RoleServiceClient grpcClient

The underlying gRPC client.

RoleServiceSettings settings

The base RoleServiceSettings used within this client.

ILogger logger

Optional ILogger to use within this client.

Properties

GrpcClient

The underlying gRPC RoleService client

Declaration
public override RoleService.RoleServiceClient GrpcClient { get; }
Property Value
Type Description
RoleService.RoleServiceClient
Overrides
RoleServiceClient.GrpcClient

Methods

GetRole(GetRoleRequest, CallSettings)

API to retrieve a Role object.

Declaration
public override Role GetRole(GetRoleRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
GetRoleRequest 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
Role

The RPC response.

Overrides
RoleServiceClient.GetRole(GetRoleRequest, CallSettings)

GetRoleAsync(GetRoleRequest, CallSettings)

API to retrieve a Role object.

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

A Task containing the RPC response.

Overrides
RoleServiceClient.GetRoleAsync(GetRoleRequest, CallSettings)

ListRoles(ListRolesRequest, CallSettings)

API to retrieve a list of Role objects.

Declaration
public override PagedEnumerable<ListRolesResponse, Role> ListRoles(ListRolesRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
ListRolesRequest 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
PagedEnumerable<ListRolesResponse, Role>

A pageable sequence of Role resources.

Overrides
RoleServiceClient.ListRoles(ListRolesRequest, CallSettings)

ListRolesAsync(ListRolesRequest, CallSettings)

API to retrieve a list of Role objects.

Declaration
public override PagedAsyncEnumerable<ListRolesResponse, Role> ListRolesAsync(ListRolesRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
ListRolesRequest 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
PagedAsyncEnumerable<ListRolesResponse, Role>

A pageable asynchronous sequence of Role resources.

Overrides
RoleServiceClient.ListRolesAsync(ListRolesRequest, CallSettings)
In this article
Back to top Generated by DocFX