Class CompanyService.CompanyServiceBase
Base class for server-side implementations of CompanyService
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
[BindServiceMethod(typeof(CompanyService), "BindService")]
public abstract class CompanyService.CompanyServiceBase
Methods
GetCompany(GetCompanyRequest, ServerCallContext)
API to retrieve a Company
object.
Declaration
public virtual Task<Company> GetCompany(GetCompanyRequest request, ServerCallContext context)
Parameters
Type | Name | Description |
---|---|---|
GetCompanyRequest | request | The request received from the client. |
ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
Type | Description |
---|---|
Task<Company> | The response to send back to the client (wrapped by a task). |
ListCompanies(ListCompaniesRequest, ServerCallContext)
API to retrieve a list of Company
objects.
Declaration
public virtual Task<ListCompaniesResponse> ListCompanies(ListCompaniesRequest request, ServerCallContext context)
Parameters
Type | Name | Description |
---|---|---|
ListCompaniesRequest | request | The request received from the client. |
ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
Type | Description |
---|---|
Task<ListCompaniesResponse> | The response to send back to the client (wrapped by a task). |