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 |
---|---|---|
Get |
request | The request received from the client. |
Server |
context | The context of the server-side call handler being invoked. |
Returns
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 |
---|---|---|
List |
request | The request received from the client. |
Server |
context | The context of the server-side call handler being invoked. |
Returns
Type | Description |
---|---|
Task<List |
The response to send back to the client (wrapped by a task). |