Class ThirdPartyCompanyServiceClientImpl
ThirdPartyCompanyService client wrapper implementation, for convenient use.
Inherited Members
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public sealed class ThirdPartyCompanyServiceClientImpl : ThirdPartyCompanyServiceClient
Remarks
Service to retrieve and list recognized third-party companies in Google Ad Manager.
Constructors
ThirdPartyCompanyServiceClientImpl(ThirdPartyCompanyServiceClient, ThirdPartyCompanyServiceSettings, ILogger)
Constructs a client wrapper for the ThirdPartyCompanyService service, with the specified gRPC client and settings.
Declaration
public ThirdPartyCompanyServiceClientImpl(ThirdPartyCompanyService.ThirdPartyCompanyServiceClient grpcClient, ThirdPartyCompanyServiceSettings settings, ILogger logger)
Parameters
| Type | Name | Description |
|---|---|---|
| ThirdPartyCompanyService.ThirdPartyCompanyServiceClient | grpcClient | The underlying gRPC client. |
| ThirdPartyCompanyServiceSettings | settings | The base ThirdPartyCompanyServiceSettings used within this client. |
| ILogger | logger | Optional ILogger to use within this client. |
Properties
GrpcClient
The underlying gRPC ThirdPartyCompanyService client
Declaration
public override ThirdPartyCompanyService.ThirdPartyCompanyServiceClient GrpcClient { get; }
Property Value
| Type | Description |
|---|---|
| ThirdPartyCompanyService.ThirdPartyCompanyServiceClient |
Overrides
Methods
GetThirdPartyCompany(GetThirdPartyCompanyRequest, CallSettings)
Retrieves a ThirdPartyCompany object.
Declaration
public override ThirdPartyCompany GetThirdPartyCompany(GetThirdPartyCompanyRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetThirdPartyCompanyRequest | 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 |
|---|---|
| ThirdPartyCompany | The RPC response. |
Overrides
GetThirdPartyCompanyAsync(GetThirdPartyCompanyRequest, CallSettings)
Retrieves a ThirdPartyCompany object.
Declaration
public override Task<ThirdPartyCompany> GetThirdPartyCompanyAsync(GetThirdPartyCompanyRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetThirdPartyCompanyRequest | 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<ThirdPartyCompany> | A Task containing the RPC response. |
Overrides
ListThirdPartyCompanies(ListThirdPartyCompaniesRequest, CallSettings)
Lists ThirdPartyCompany objects.
Declaration
public override PagedEnumerable<ListThirdPartyCompaniesResponse, ThirdPartyCompany> ListThirdPartyCompanies(ListThirdPartyCompaniesRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ListThirdPartyCompaniesRequest | 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<ListThirdPartyCompaniesResponse, ThirdPartyCompany> | A pageable sequence of ThirdPartyCompany resources. |
Overrides
ListThirdPartyCompaniesAsync(ListThirdPartyCompaniesRequest, CallSettings)
Lists ThirdPartyCompany objects.
Declaration
public override PagedAsyncEnumerable<ListThirdPartyCompaniesResponse, ThirdPartyCompany> ListThirdPartyCompaniesAsync(ListThirdPartyCompaniesRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ListThirdPartyCompaniesRequest | 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<ListThirdPartyCompaniesResponse, ThirdPartyCompany> | A pageable asynchronous sequence of ThirdPartyCompany resources. |