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
announce(request, callback)
public announce(request: google.cloud.compute.v1.IAnnouncePublicAdvertisedPrefixeRequest, callback: google.cloud.compute.v1.PublicAdvertisedPrefixes.AnnounceCallback): void;
Calls Announce.
Parameters | |
---|---|
Name | Description |
request |
IAnnouncePublicAdvertisedPrefixeRequest
AnnouncePublicAdvertisedPrefixeRequest message or plain object |
callback |
AnnounceCallback
Node-style callback called with the error, if any, and Operation |
Returns | |
---|---|
Type | Description |
void |
announce(request)
public announce(request: google.cloud.compute.v1.IAnnouncePublicAdvertisedPrefixeRequest): Promise<google.cloud.compute.v1.Operation>;
Calls Announce.
Parameter | |
---|---|
Name | Description |
request |
IAnnouncePublicAdvertisedPrefixeRequest
AnnouncePublicAdvertisedPrefixeRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.compute.v1.Operation> |
Promise |
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 |
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 |
IGetPublicAdvertisedPrefixeRequest
GetPublicAdvertisedPrefixeRequest message or plain object |
callback |
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 |
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 |
IInsertPublicAdvertisedPrefixeRequest
InsertPublicAdvertisedPrefixeRequest message or plain object |
callback |
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 |
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 |
IListPublicAdvertisedPrefixesRequest
ListPublicAdvertisedPrefixesRequest message or plain object |
callback |
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 |
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 |
IPatchPublicAdvertisedPrefixeRequest
PatchPublicAdvertisedPrefixeRequest message or plain object |
callback |
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 |
IPatchPublicAdvertisedPrefixeRequest
PatchPublicAdvertisedPrefixeRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.compute.v1.Operation> |
Promise |
withdraw(request, callback)
public withdraw(request: google.cloud.compute.v1.IWithdrawPublicAdvertisedPrefixeRequest, callback: google.cloud.compute.v1.PublicAdvertisedPrefixes.WithdrawCallback): void;
Calls Withdraw.
Parameters | |
---|---|
Name | Description |
request |
IWithdrawPublicAdvertisedPrefixeRequest
WithdrawPublicAdvertisedPrefixeRequest message or plain object |
callback |
WithdrawCallback
Node-style callback called with the error, if any, and Operation |
Returns | |
---|---|
Type | Description |
void |
withdraw(request)
public withdraw(request: google.cloud.compute.v1.IWithdrawPublicAdvertisedPrefixeRequest): Promise<google.cloud.compute.v1.Operation>;
Calls Withdraw.
Parameter | |
---|---|
Name | Description |
request |
IWithdrawPublicAdvertisedPrefixeRequest
WithdrawPublicAdvertisedPrefixeRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.compute.v1.Operation> |
Promise |