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)
CompanyServiceClient.CreateCompanyAsync(CreateCompanyRequest, CancellationToken)
CompanyServiceClient.CreateCompany(string, Company, CallSettings)
CompanyServiceClient.CreateCompanyAsync(string, Company, CallSettings)
CompanyServiceClient.CreateCompanyAsync(string, Company, CancellationToken)
CompanyServiceClient.CreateCompany(NetworkName, Company, CallSettings)
CompanyServiceClient.CreateCompanyAsync(NetworkName, Company, CallSettings)
CompanyServiceClient.CreateCompanyAsync(NetworkName, Company, CancellationToken)
CompanyServiceClient.BatchCreateCompaniesAsync(BatchCreateCompaniesRequest, CancellationToken)
CompanyServiceClient.BatchCreateCompanies(string, IEnumerable<CreateCompanyRequest>, CallSettings)
CompanyServiceClient.BatchCreateCompaniesAsync(string, IEnumerable<CreateCompanyRequest>, CallSettings)
CompanyServiceClient.BatchCreateCompaniesAsync(string, IEnumerable<CreateCompanyRequest>, CancellationToken)
CompanyServiceClient.BatchCreateCompanies(NetworkName, IEnumerable<CreateCompanyRequest>, CallSettings)
CompanyServiceClient.BatchCreateCompaniesAsync(NetworkName, IEnumerable<CreateCompanyRequest>, CallSettings)
CompanyServiceClient.BatchCreateCompaniesAsync(NetworkName, IEnumerable<CreateCompanyRequest>, CancellationToken)
CompanyServiceClient.UpdateCompanyAsync(UpdateCompanyRequest, CancellationToken)
CompanyServiceClient.UpdateCompany(Company, FieldMask, CallSettings)
CompanyServiceClient.UpdateCompanyAsync(Company, FieldMask, CallSettings)
CompanyServiceClient.UpdateCompanyAsync(Company, FieldMask, CancellationToken)
CompanyServiceClient.BatchUpdateCompaniesAsync(BatchUpdateCompaniesRequest, CancellationToken)
CompanyServiceClient.BatchUpdateCompanies(string, IEnumerable<UpdateCompanyRequest>, CallSettings)
CompanyServiceClient.BatchUpdateCompaniesAsync(string, IEnumerable<UpdateCompanyRequest>, CallSettings)
CompanyServiceClient.BatchUpdateCompaniesAsync(string, IEnumerable<UpdateCompanyRequest>, CancellationToken)
CompanyServiceClient.BatchUpdateCompanies(NetworkName, IEnumerable<UpdateCompanyRequest>, CallSettings)
CompanyServiceClient.BatchUpdateCompaniesAsync(NetworkName, IEnumerable<UpdateCompanyRequest>, CallSettings)
CompanyServiceClient.BatchUpdateCompaniesAsync(NetworkName, IEnumerable<UpdateCompanyRequest>, CancellationToken)
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][google.ads.admanager.v1.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

BatchCreateCompanies(BatchCreateCompaniesRequest, CallSettings)

Creates [Company][google.ads.admanager.v1.Company] objects.

Declaration
public override BatchCreateCompaniesResponse BatchCreateCompanies(BatchCreateCompaniesRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
BatchCreateCompaniesRequest 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
BatchCreateCompaniesResponse

The RPC response.

Overrides
CompanyServiceClient.BatchCreateCompanies(BatchCreateCompaniesRequest, CallSettings)

BatchCreateCompaniesAsync(BatchCreateCompaniesRequest, CallSettings)

Creates [Company][google.ads.admanager.v1.Company] objects.

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

A Task containing the RPC response.

Overrides
CompanyServiceClient.BatchCreateCompaniesAsync(BatchCreateCompaniesRequest, CallSettings)

BatchUpdateCompanies(BatchUpdateCompaniesRequest, CallSettings)

Batch updates [Company][google.ads.admanager.v1.Company] objects.

Declaration
public override BatchUpdateCompaniesResponse BatchUpdateCompanies(BatchUpdateCompaniesRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
BatchUpdateCompaniesRequest 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
BatchUpdateCompaniesResponse

The RPC response.

Overrides
CompanyServiceClient.BatchUpdateCompanies(BatchUpdateCompaniesRequest, CallSettings)

BatchUpdateCompaniesAsync(BatchUpdateCompaniesRequest, CallSettings)

Batch updates [Company][google.ads.admanager.v1.Company] objects.

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

A Task containing the RPC response.

Overrides
CompanyServiceClient.BatchUpdateCompaniesAsync(BatchUpdateCompaniesRequest, CallSettings)

CreateCompany(CreateCompanyRequest, CallSettings)

Creates a [Company][google.ads.admanager.v1.Company] object.

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

CreateCompanyAsync(CreateCompanyRequest, CallSettings)

Creates a [Company][google.ads.admanager.v1.Company] object.

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

GetCompany(GetCompanyRequest, CallSettings)

Retrieves a [Company][google.ads.admanager.v1.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)

Retrieves a [Company][google.ads.admanager.v1.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)

Lists [Company][google.ads.admanager.v1.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)

Lists [Company][google.ads.admanager.v1.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)

UpdateCompany(UpdateCompanyRequest, CallSettings)

Updates a [Company][google.ads.admanager.v1.Company] object.

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

UpdateCompanyAsync(UpdateCompanyRequest, CallSettings)

Updates a [Company][google.ads.admanager.v1.Company] object.

Declaration
public override Task<Company> UpdateCompanyAsync(UpdateCompanyRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
UpdateCompanyRequest 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.UpdateCompanyAsync(UpdateCompanyRequest, CallSettings)
In this article
Back to top Generated by DocFX