Show / Hide Table of Contents

Class CompanyServiceClientImpl

CompanyService client wrapper implementation, for convenient use.

Inheritance
object
CompanyServiceClient
CompanyServiceClientImpl
Inherited Members
CompanyServiceClient.DefaultEndpoint
CompanyServiceClient.DefaultScopes
CompanyServiceClient.ServiceMetadata
CompanyServiceClient.CreateAsync(CancellationToken)
CompanyServiceClient.Create()
CompanyServiceClient.ShutdownDefaultChannelsAsync()
CompanyServiceClient.GetCompanyAsync(GetCompanyRequest, CancellationToken)
CompanyServiceClient.GetCompany(string, CallSettings)
CompanyServiceClient.GetCompanyAsync(string, CallSettings)
CompanyServiceClient.GetCompanyAsync(string, CancellationToken)
CompanyServiceClient.GetCompany(CompanyName, CallSettings)
CompanyServiceClient.GetCompanyAsync(CompanyName, CallSettings)
CompanyServiceClient.GetCompanyAsync(CompanyName, CancellationToken)
CompanyServiceClient.ListCompanies(string, string, int?, CallSettings)
CompanyServiceClient.ListCompaniesAsync(string, string, int?, CallSettings)
CompanyServiceClient.ListCompanies(NetworkName, string, int?, CallSettings)
CompanyServiceClient.ListCompaniesAsync(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 CompanyServiceClientImpl : CompanyServiceClient
Remarks

Provides methods for handling Company objects.

Constructors

CompanyServiceClientImpl(CompanyServiceClient, CompanyServiceSettings, ILogger)

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

Declaration
public CompanyServiceClientImpl(CompanyService.CompanyServiceClient grpcClient, CompanyServiceSettings settings, ILogger logger)
Parameters
Type Name Description
CompanyService.CompanyServiceClient grpcClient

The underlying gRPC client.

CompanyServiceSettings settings

The base CompanyServiceSettings used within this client.

ILogger logger

Optional ILogger to use within this client.

Properties

GrpcClient

The underlying gRPC CompanyService client

Declaration
public override CompanyService.CompanyServiceClient GrpcClient { get; }
Property Value
Type Description
CompanyService.CompanyServiceClient
Overrides
CompanyServiceClient.GrpcClient

Methods

GetCompany(GetCompanyRequest, CallSettings)

API to retrieve a Company object.

Declaration
public override Company GetCompany(GetCompanyRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
GetCompanyRequest 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
Company

The RPC response.

Overrides
CompanyServiceClient.GetCompany(GetCompanyRequest, CallSettings)

GetCompanyAsync(GetCompanyRequest, CallSettings)

API to retrieve a Company object.

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

A Task containing the RPC response.

Overrides
CompanyServiceClient.GetCompanyAsync(GetCompanyRequest, CallSettings)

ListCompanies(ListCompaniesRequest, CallSettings)

API to retrieve a list of Company objects.

Declaration
public override PagedEnumerable<ListCompaniesResponse, Company> ListCompanies(ListCompaniesRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
ListCompaniesRequest 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<ListCompaniesResponse, Company>

A pageable sequence of Company resources.

Overrides
CompanyServiceClient.ListCompanies(ListCompaniesRequest, CallSettings)

ListCompaniesAsync(ListCompaniesRequest, CallSettings)

API to retrieve a list of Company objects.

Declaration
public override PagedAsyncEnumerable<ListCompaniesResponse, Company> ListCompaniesAsync(ListCompaniesRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
ListCompaniesRequest 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<ListCompaniesResponse, Company>

A pageable asynchronous sequence of Company resources.

Overrides
CompanyServiceClient.ListCompaniesAsync(ListCompaniesRequest, CallSettings)
In this article
Back to top Generated by DocFX