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.
Parameters | |
---|---|
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.
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 |
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.
Parameters | |
---|---|
Name | Description |
request |
IDeletePublicAdvertisedPrefixeRequest
DeletePublicAdvertisedPrefixeRequest message or plain object |
callback |
google.cloud.compute.v1.PublicAdvertisedPrefixes.DeleteCallback
Node-style callback called with the error, if any, and Operation |
Returns | |
---|---|
Type | Description |
void |
delete(request)
public delete(request: google.cloud.compute.v1.IDeletePublicAdvertisedPrefixeRequest): Promise<google.cloud.compute.v1.Operation>;
Calls Delete.
Parameter | |
---|---|
Name | Description |
request |
IDeletePublicAdvertisedPrefixeRequest
DeletePublicAdvertisedPrefixeRequest message or plain object |
Returns | |
---|---|
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.
Parameters | |
---|---|
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 |
Returns | |
---|---|
Type | Description |
void |
get(request)
public get(request: google.cloud.compute.v1.IGetPublicAdvertisedPrefixeRequest): Promise<google.cloud.compute.v1.PublicAdvertisedPrefix>;
Calls Get.
Parameter | |
---|---|
Name | Description |
request |
google.cloud.compute.v1.IGetPublicAdvertisedPrefixeRequest
GetPublicAdvertisedPrefixeRequest message or plain object |
Returns | |
---|---|
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.
Parameters | |
---|---|
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 |
Returns | |
---|---|
Type | Description |
void |
insert(request)
public insert(request: google.cloud.compute.v1.IInsertPublicAdvertisedPrefixeRequest): Promise<google.cloud.compute.v1.Operation>;
Calls Insert.
Parameter | |
---|---|
Name | Description |
request |
google.cloud.compute.v1.IInsertPublicAdvertisedPrefixeRequest
InsertPublicAdvertisedPrefixeRequest message or plain object |
Returns | |
---|---|
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.
Parameters | |
---|---|
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 |
Returns | |
---|---|
Type | Description |
void |
list(request)
public list(request: google.cloud.compute.v1.IListPublicAdvertisedPrefixesRequest): Promise<google.cloud.compute.v1.PublicAdvertisedPrefixList>;
Calls List.
Parameter | |
---|---|
Name | Description |
request |
google.cloud.compute.v1.IListPublicAdvertisedPrefixesRequest
ListPublicAdvertisedPrefixesRequest message or plain object |
Returns | |
---|---|
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.
Parameters | |
---|---|
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 |
Returns | |
---|---|
Type | Description |
void |
patch(request)
public patch(request: google.cloud.compute.v1.IPatchPublicAdvertisedPrefixeRequest): Promise<google.cloud.compute.v1.Operation>;
Calls Patch.
Parameter | |
---|---|
Name | Description |
request |
google.cloud.compute.v1.IPatchPublicAdvertisedPrefixeRequest
PatchPublicAdvertisedPrefixeRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.compute.v1.Operation> | Promise |