Class ThirdPartyCompanyService.ThirdPartyCompanyServiceClient
Client for ThirdPartyCompanyService
Inheritance
Inherited Members
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public class ThirdPartyCompanyService.ThirdPartyCompanyServiceClient : ClientBase<ThirdPartyCompanyService.ThirdPartyCompanyServiceClient>
Constructors
ThirdPartyCompanyServiceClient()
Protected parameterless constructor to allow creation of test doubles.
Declaration
protected ThirdPartyCompanyServiceClient()
ThirdPartyCompanyServiceClient(CallInvoker)
Creates a new client for ThirdPartyCompanyService that uses a custom CallInvoker.
Declaration
public ThirdPartyCompanyServiceClient(CallInvoker callInvoker)
Parameters
| Type | Name | Description |
|---|---|---|
| CallInvoker | callInvoker | The callInvoker to use to make remote calls. |
ThirdPartyCompanyServiceClient(ChannelBase)
Creates a new client for ThirdPartyCompanyService
Declaration
public ThirdPartyCompanyServiceClient(ChannelBase channel)
Parameters
| Type | Name | Description |
|---|---|---|
| ChannelBase | channel | The channel to use to make remote calls. |
ThirdPartyCompanyServiceClient(ClientBaseConfiguration)
Protected constructor to allow creation of configured clients.
Declaration
protected ThirdPartyCompanyServiceClient(ClientBase.ClientBaseConfiguration configuration)
Parameters
| Type | Name | Description |
|---|---|---|
| ClientBase.ClientBaseConfiguration | configuration | The client configuration. |
Methods
GetThirdPartyCompany(GetThirdPartyCompanyRequest, CallOptions)
Retrieves a ThirdPartyCompany object.
Declaration
public virtual ThirdPartyCompany GetThirdPartyCompany(GetThirdPartyCompanyRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| GetThirdPartyCompanyRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| ThirdPartyCompany | The response received from the server. |
GetThirdPartyCompany(GetThirdPartyCompanyRequest, Metadata, DateTime?, CancellationToken)
Retrieves a ThirdPartyCompany object.
Declaration
public virtual ThirdPartyCompany GetThirdPartyCompany(GetThirdPartyCompanyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| GetThirdPartyCompanyRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| ThirdPartyCompany | The response received from the server. |
GetThirdPartyCompanyAsync(GetThirdPartyCompanyRequest, CallOptions)
Retrieves a ThirdPartyCompany object.
Declaration
public virtual AsyncUnaryCall<ThirdPartyCompany> GetThirdPartyCompanyAsync(GetThirdPartyCompanyRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| GetThirdPartyCompanyRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<ThirdPartyCompany> | The call object. |
GetThirdPartyCompanyAsync(GetThirdPartyCompanyRequest, Metadata, DateTime?, CancellationToken)
Retrieves a ThirdPartyCompany object.
Declaration
public virtual AsyncUnaryCall<ThirdPartyCompany> GetThirdPartyCompanyAsync(GetThirdPartyCompanyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| GetThirdPartyCompanyRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<ThirdPartyCompany> | The call object. |
ListThirdPartyCompanies(ListThirdPartyCompaniesRequest, CallOptions)
Lists ThirdPartyCompany objects.
Declaration
public virtual ListThirdPartyCompaniesResponse ListThirdPartyCompanies(ListThirdPartyCompaniesRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| ListThirdPartyCompaniesRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| ListThirdPartyCompaniesResponse | The response received from the server. |
ListThirdPartyCompanies(ListThirdPartyCompaniesRequest, Metadata, DateTime?, CancellationToken)
Lists ThirdPartyCompany objects.
Declaration
public virtual ListThirdPartyCompaniesResponse ListThirdPartyCompanies(ListThirdPartyCompaniesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| ListThirdPartyCompaniesRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| ListThirdPartyCompaniesResponse | The response received from the server. |
ListThirdPartyCompaniesAsync(ListThirdPartyCompaniesRequest, CallOptions)
Lists ThirdPartyCompany objects.
Declaration
public virtual AsyncUnaryCall<ListThirdPartyCompaniesResponse> ListThirdPartyCompaniesAsync(ListThirdPartyCompaniesRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| ListThirdPartyCompaniesRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<ListThirdPartyCompaniesResponse> | The call object. |
ListThirdPartyCompaniesAsync(ListThirdPartyCompaniesRequest, Metadata, DateTime?, CancellationToken)
Lists ThirdPartyCompany objects.
Declaration
public virtual AsyncUnaryCall<ListThirdPartyCompaniesResponse> ListThirdPartyCompaniesAsync(ListThirdPartyCompaniesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| ListThirdPartyCompaniesRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<ListThirdPartyCompaniesResponse> | The call object. |
NewInstance(ClientBaseConfiguration)
Creates a new instance of client from given ClientBaseConfiguration.
Declaration
protected override ThirdPartyCompanyService.ThirdPartyCompanyServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Parameters
| Type | Name | Description |
|---|---|---|
| ClientBase.ClientBaseConfiguration | configuration |
Returns
| Type | Description |
|---|---|
| ThirdPartyCompanyService.ThirdPartyCompanyServiceClient |