Show / Hide Table of Contents

Class CompanyService.CompanyServiceBase

Base class for server-side implementations of CompanyService

Inheritance
object
CompanyService.CompanyServiceBase
Inherited Members
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ToString()
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
[BindServiceMethod(typeof(CompanyService), "BindService")]
public abstract class CompanyService.CompanyServiceBase

Methods

BatchCreateCompanies(BatchCreateCompaniesRequest, ServerCallContext)

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

Declaration
public virtual Task<BatchCreateCompaniesResponse> BatchCreateCompanies(BatchCreateCompaniesRequest request, ServerCallContext context)
Parameters
Type Name Description
BatchCreateCompaniesRequest request

The request received from the client.

ServerCallContext context

The context of the server-side call handler being invoked.

Returns
Type Description
Task<BatchCreateCompaniesResponse>

The response to send back to the client (wrapped by a task).

BatchUpdateCompanies(BatchUpdateCompaniesRequest, ServerCallContext)

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

Declaration
public virtual Task<BatchUpdateCompaniesResponse> BatchUpdateCompanies(BatchUpdateCompaniesRequest request, ServerCallContext context)
Parameters
Type Name Description
BatchUpdateCompaniesRequest request

The request received from the client.

ServerCallContext context

The context of the server-side call handler being invoked.

Returns
Type Description
Task<BatchUpdateCompaniesResponse>

The response to send back to the client (wrapped by a task).

CreateCompany(CreateCompanyRequest, ServerCallContext)

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

Declaration
public virtual Task<Company> CreateCompany(CreateCompanyRequest request, ServerCallContext context)
Parameters
Type Name Description
CreateCompanyRequest 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).

GetCompany(GetCompanyRequest, ServerCallContext)

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

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

UpdateCompany(UpdateCompanyRequest, ServerCallContext)

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

Declaration
public virtual Task<Company> UpdateCompany(UpdateCompanyRequest request, ServerCallContext context)
Parameters
Type Name Description
UpdateCompanyRequest 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).

In this article
Back to top Generated by DocFX