Represents a PublicAdvertisedPrefixes
Inheritance
$protobuf.rpc.Service > protos.google.cloud.compute.v1.PublicAdvertisedPrefixesPackage
@google-cloud/computeConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);Constructs a new PublicAdvertisedPrefixes service.
| Name | Description |
| rpcImpl |
$protobuf.RPCImpl
RPC implementation |
| requestDelimited |
boolean
Whether requests are length-delimited |
| responseDelimited |
boolean
Whether responses are length-delimited |
Methods
create(rpcImpl, requestDelimited, responseDelimited)
public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): PublicAdvertisedPrefixes;Creates new PublicAdvertisedPrefixes service using the specified rpc implementation.
| Name | Description |
| rpcImpl |
$protobuf.RPCImpl
RPC implementation |
| requestDelimited |
boolean
Whether requests are length-delimited |
| responseDelimited |
boolean
Whether responses are length-delimited |
| Type | Description |
| PublicAdvertisedPrefixes | RPC service. Useful where requests and/or responses are streamed. |
delete(request, callback)
public delete(request: google.cloud.compute.v1.IDeletePublicAdvertisedPrefixeRequest, callback: google.cloud.compute.v1.PublicAdvertisedPrefixes.DeleteCallback): void;Calls Delete.
| Name | Description |
| request |
google.cloud.compute.v1.IDeletePublicAdvertisedPrefixeRequest
DeletePublicAdvertisedPrefixeRequest message or plain object |
| callback |
google.cloud.compute.v1.PublicAdvertisedPrefixes.DeleteCallback
Node-style callback called with the error, if any, and Operation |
| Type | Description |
| void |
delete(request)
public delete(request: google.cloud.compute.v1.IDeletePublicAdvertisedPrefixeRequest): Promise<google.cloud.compute.v1.Operation>;Calls Delete.
| Name | Description |
| request |
google.cloud.compute.v1.IDeletePublicAdvertisedPrefixeRequest
DeletePublicAdvertisedPrefixeRequest message or plain object |
| Type | Description |
| Promise<google.cloud.compute.v1.Operation> | Promise |
get(request, callback)
public get(request: google.cloud.compute.v1.IGetPublicAdvertisedPrefixeRequest, callback: google.cloud.compute.v1.PublicAdvertisedPrefixes.GetCallback): void;Calls Get.
| Name | Description |
| request |
google.cloud.compute.v1.IGetPublicAdvertisedPrefixeRequest
GetPublicAdvertisedPrefixeRequest message or plain object |
| callback |
google.cloud.compute.v1.PublicAdvertisedPrefixes.GetCallback
Node-style callback called with the error, if any, and PublicAdvertisedPrefix |
| Type | Description |
| void |
get(request)
public get(request: google.cloud.compute.v1.IGetPublicAdvertisedPrefixeRequest): Promise<google.cloud.compute.v1.PublicAdvertisedPrefix>;Calls Get.
| Name | Description |
| request |
google.cloud.compute.v1.IGetPublicAdvertisedPrefixeRequest
GetPublicAdvertisedPrefixeRequest message or plain object |
| Type | Description |
| Promise<google.cloud.compute.v1.PublicAdvertisedPrefix> | Promise |
insert(request, callback)
public insert(request: google.cloud.compute.v1.IInsertPublicAdvertisedPrefixeRequest, callback: google.cloud.compute.v1.PublicAdvertisedPrefixes.InsertCallback): void;Calls Insert.
| Name | Description |
| request |
google.cloud.compute.v1.IInsertPublicAdvertisedPrefixeRequest
InsertPublicAdvertisedPrefixeRequest message or plain object |
| callback |
google.cloud.compute.v1.PublicAdvertisedPrefixes.InsertCallback
Node-style callback called with the error, if any, and Operation |
| Type | Description |
| void |
insert(request)
public insert(request: google.cloud.compute.v1.IInsertPublicAdvertisedPrefixeRequest): Promise<google.cloud.compute.v1.Operation>;Calls Insert.
| Name | Description |
| request |
google.cloud.compute.v1.IInsertPublicAdvertisedPrefixeRequest
InsertPublicAdvertisedPrefixeRequest message or plain object |
| Type | Description |
| Promise<google.cloud.compute.v1.Operation> | Promise |
list(request, callback)
public list(request: google.cloud.compute.v1.IListPublicAdvertisedPrefixesRequest, callback: google.cloud.compute.v1.PublicAdvertisedPrefixes.ListCallback): void;Calls List.
| Name | Description |
| request |
google.cloud.compute.v1.IListPublicAdvertisedPrefixesRequest
ListPublicAdvertisedPrefixesRequest message or plain object |
| callback |
google.cloud.compute.v1.PublicAdvertisedPrefixes.ListCallback
Node-style callback called with the error, if any, and PublicAdvertisedPrefixList |
| Type | Description |
| void |
list(request)
public list(request: google.cloud.compute.v1.IListPublicAdvertisedPrefixesRequest): Promise<google.cloud.compute.v1.PublicAdvertisedPrefixList>;Calls List.
| Name | Description |
| request |
google.cloud.compute.v1.IListPublicAdvertisedPrefixesRequest
ListPublicAdvertisedPrefixesRequest message or plain object |
| Type | Description |
| Promise<google.cloud.compute.v1.PublicAdvertisedPrefixList> | Promise |
patch(request, callback)
public patch(request: google.cloud.compute.v1.IPatchPublicAdvertisedPrefixeRequest, callback: google.cloud.compute.v1.PublicAdvertisedPrefixes.PatchCallback): void;Calls Patch.
| Name | Description |
| request |
google.cloud.compute.v1.IPatchPublicAdvertisedPrefixeRequest
PatchPublicAdvertisedPrefixeRequest message or plain object |
| callback |
google.cloud.compute.v1.PublicAdvertisedPrefixes.PatchCallback
Node-style callback called with the error, if any, and Operation |
| Type | Description |
| void |
patch(request)
public patch(request: google.cloud.compute.v1.IPatchPublicAdvertisedPrefixeRequest): Promise<google.cloud.compute.v1.Operation>;Calls Patch.
| Name | Description |
| request |
google.cloud.compute.v1.IPatchPublicAdvertisedPrefixeRequest
PatchPublicAdvertisedPrefixeRequest message or plain object |
| Type | Description |
| Promise<google.cloud.compute.v1.Operation> | Promise |