Class protos.google.ads.admanager.v1.CdnConfigService (0.7.0)

Represents a CdnConfigService

Inheritance

$protobuf.rpc.Service > protos.google.ads.admanager.v1.CdnConfigService

Package

@google-ads/admanager

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);

Constructs a new CdnConfigService service.

Parameters
Name Description
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Methods

batchActivateCdnConfigs(request, callback)

public batchActivateCdnConfigs(request: google.ads.admanager.v1.IBatchActivateCdnConfigsRequest, callback: google.ads.admanager.v1.CdnConfigService.BatchActivateCdnConfigsCallback): void;

Calls BatchActivateCdnConfigs.

Parameters
Name Description
request IBatchActivateCdnConfigsRequest

BatchActivateCdnConfigsRequest message or plain object

callback BatchActivateCdnConfigsCallback

Node-style callback called with the error, if any, and BatchActivateCdnConfigsResponse

Returns
Type Description
void

batchActivateCdnConfigs(request)

public batchActivateCdnConfigs(request: google.ads.admanager.v1.IBatchActivateCdnConfigsRequest): Promise<google.ads.admanager.v1.BatchActivateCdnConfigsResponse>;

Calls BatchActivateCdnConfigs.

Parameter
Name Description
request IBatchActivateCdnConfigsRequest

BatchActivateCdnConfigsRequest message or plain object

Returns
Type Description
Promise<google.ads.admanager.v1.BatchActivateCdnConfigsResponse>

Promise

batchArchiveCdnConfigs(request, callback)

public batchArchiveCdnConfigs(request: google.ads.admanager.v1.IBatchArchiveCdnConfigsRequest, callback: google.ads.admanager.v1.CdnConfigService.BatchArchiveCdnConfigsCallback): void;

Calls BatchArchiveCdnConfigs.

Parameters
Name Description
request IBatchArchiveCdnConfigsRequest

BatchArchiveCdnConfigsRequest message or plain object

callback BatchArchiveCdnConfigsCallback

Node-style callback called with the error, if any, and BatchArchiveCdnConfigsResponse

Returns
Type Description
void

batchArchiveCdnConfigs(request)

public batchArchiveCdnConfigs(request: google.ads.admanager.v1.IBatchArchiveCdnConfigsRequest): Promise<google.ads.admanager.v1.BatchArchiveCdnConfigsResponse>;

Calls BatchArchiveCdnConfigs.

Parameter
Name Description
request IBatchArchiveCdnConfigsRequest

BatchArchiveCdnConfigsRequest message or plain object

Returns
Type Description
Promise<google.ads.admanager.v1.BatchArchiveCdnConfigsResponse>

Promise

batchCreateCdnConfigs(request, callback)

public batchCreateCdnConfigs(request: google.ads.admanager.v1.IBatchCreateCdnConfigsRequest, callback: google.ads.admanager.v1.CdnConfigService.BatchCreateCdnConfigsCallback): void;

Calls BatchCreateCdnConfigs.

Parameters
Name Description
request IBatchCreateCdnConfigsRequest

BatchCreateCdnConfigsRequest message or plain object

callback BatchCreateCdnConfigsCallback

Node-style callback called with the error, if any, and BatchCreateCdnConfigsResponse

Returns
Type Description
void

batchCreateCdnConfigs(request)

public batchCreateCdnConfigs(request: google.ads.admanager.v1.IBatchCreateCdnConfigsRequest): Promise<google.ads.admanager.v1.BatchCreateCdnConfigsResponse>;

Calls BatchCreateCdnConfigs.

Parameter
Name Description
request IBatchCreateCdnConfigsRequest

BatchCreateCdnConfigsRequest message or plain object

Returns
Type Description
Promise<google.ads.admanager.v1.BatchCreateCdnConfigsResponse>

Promise

batchUpdateCdnConfigs(request, callback)

public batchUpdateCdnConfigs(request: google.ads.admanager.v1.IBatchUpdateCdnConfigsRequest, callback: google.ads.admanager.v1.CdnConfigService.BatchUpdateCdnConfigsCallback): void;

Calls BatchUpdateCdnConfigs.

Parameters
Name Description
request IBatchUpdateCdnConfigsRequest

BatchUpdateCdnConfigsRequest message or plain object

callback BatchUpdateCdnConfigsCallback

Node-style callback called with the error, if any, and BatchUpdateCdnConfigsResponse

Returns
Type Description
void

batchUpdateCdnConfigs(request)

public batchUpdateCdnConfigs(request: google.ads.admanager.v1.IBatchUpdateCdnConfigsRequest): Promise<google.ads.admanager.v1.BatchUpdateCdnConfigsResponse>;

Calls BatchUpdateCdnConfigs.

Parameter
Name Description
request IBatchUpdateCdnConfigsRequest

BatchUpdateCdnConfigsRequest message or plain object

Returns
Type Description
Promise<google.ads.admanager.v1.BatchUpdateCdnConfigsResponse>

Promise

create(rpcImpl, requestDelimited, responseDelimited)

public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): CdnConfigService;

Creates new CdnConfigService service using the specified rpc implementation.

Parameters
Name Description
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Returns
Type Description
CdnConfigService

RPC service. Useful where requests and/or responses are streamed.

createCdnConfig(request, callback)

public createCdnConfig(request: google.ads.admanager.v1.ICreateCdnConfigRequest, callback: google.ads.admanager.v1.CdnConfigService.CreateCdnConfigCallback): void;

Calls CreateCdnConfig.

Parameters
Name Description
request ICreateCdnConfigRequest

CreateCdnConfigRequest message or plain object

callback CreateCdnConfigCallback

Node-style callback called with the error, if any, and CdnConfig

Returns
Type Description
void

createCdnConfig(request)

public createCdnConfig(request: google.ads.admanager.v1.ICreateCdnConfigRequest): Promise<google.ads.admanager.v1.CdnConfig>;

Calls CreateCdnConfig.

Parameter
Name Description
request ICreateCdnConfigRequest

CreateCdnConfigRequest message or plain object

Returns
Type Description
Promise<google.ads.admanager.v1.CdnConfig>

Promise

getCdnConfig(request, callback)

public getCdnConfig(request: google.ads.admanager.v1.IGetCdnConfigRequest, callback: google.ads.admanager.v1.CdnConfigService.GetCdnConfigCallback): void;

Calls GetCdnConfig.

Parameters
Name Description
request IGetCdnConfigRequest

GetCdnConfigRequest message or plain object

callback GetCdnConfigCallback

Node-style callback called with the error, if any, and CdnConfig

Returns
Type Description
void

getCdnConfig(request)

public getCdnConfig(request: google.ads.admanager.v1.IGetCdnConfigRequest): Promise<google.ads.admanager.v1.CdnConfig>;

Calls GetCdnConfig.

Parameter
Name Description
request IGetCdnConfigRequest

GetCdnConfigRequest message or plain object

Returns
Type Description
Promise<google.ads.admanager.v1.CdnConfig>

Promise

listCdnConfigs(request, callback)

public listCdnConfigs(request: google.ads.admanager.v1.IListCdnConfigsRequest, callback: google.ads.admanager.v1.CdnConfigService.ListCdnConfigsCallback): void;

Calls ListCdnConfigs.

Parameters
Name Description
request IListCdnConfigsRequest

ListCdnConfigsRequest message or plain object

callback ListCdnConfigsCallback

Node-style callback called with the error, if any, and ListCdnConfigsResponse

Returns
Type Description
void

listCdnConfigs(request)

public listCdnConfigs(request: google.ads.admanager.v1.IListCdnConfigsRequest): Promise<google.ads.admanager.v1.ListCdnConfigsResponse>;

Calls ListCdnConfigs.

Parameter
Name Description
request IListCdnConfigsRequest

ListCdnConfigsRequest message or plain object

Returns
Type Description
Promise<google.ads.admanager.v1.ListCdnConfigsResponse>

Promise

updateCdnConfig(request, callback)

public updateCdnConfig(request: google.ads.admanager.v1.IUpdateCdnConfigRequest, callback: google.ads.admanager.v1.CdnConfigService.UpdateCdnConfigCallback): void;

Calls UpdateCdnConfig.

Parameters
Name Description
request IUpdateCdnConfigRequest

UpdateCdnConfigRequest message or plain object

callback UpdateCdnConfigCallback

Node-style callback called with the error, if any, and CdnConfig

Returns
Type Description
void

updateCdnConfig(request)

public updateCdnConfig(request: google.ads.admanager.v1.IUpdateCdnConfigRequest): Promise<google.ads.admanager.v1.CdnConfig>;

Calls UpdateCdnConfig.

Parameter
Name Description
request IUpdateCdnConfigRequest

UpdateCdnConfigRequest message or plain object

Returns
Type Description
Promise<google.ads.admanager.v1.CdnConfig>

Promise