Represents a GlobalVmExtensionPolicies
Inheritance
$protobuf.rpc.Service > protos.google.cloud.compute.v1beta.GlobalVmExtensionPoliciesPackage
@google-cloud/computeConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);Constructs a new GlobalVmExtensionPolicies service.
| Parameters | |
|---|---|
| Name | Description |
rpcImpl |
$protobuf.RPCImpl
RPC implementation |
requestDelimited |
boolean
Whether requests are length-delimited |
responseDelimited |
boolean
Whether responses are length-delimited |
Methods
aggregatedList(request, callback)
public aggregatedList(request: google.cloud.compute.v1beta.IAggregatedListGlobalVmExtensionPoliciesRequest, callback: google.cloud.compute.v1beta.GlobalVmExtensionPolicies.AggregatedListCallback): void;Calls AggregatedList.
| Parameters | |
|---|---|
| Name | Description |
request |
IAggregatedListGlobalVmExtensionPoliciesRequest
AggregatedListGlobalVmExtensionPoliciesRequest message or plain object |
callback |
AggregatedListCallback
Node-style callback called with the error, if any, and VmExtensionPolicyAggregatedListResponse |
| Returns | |
|---|---|
| Type | Description |
void |
|
aggregatedList(request)
public aggregatedList(request: google.cloud.compute.v1beta.IAggregatedListGlobalVmExtensionPoliciesRequest): Promise<google.cloud.compute.v1beta.VmExtensionPolicyAggregatedListResponse>;Calls AggregatedList.
| Parameter | |
|---|---|
| Name | Description |
request |
IAggregatedListGlobalVmExtensionPoliciesRequest
AggregatedListGlobalVmExtensionPoliciesRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.cloud.compute.v1beta.VmExtensionPolicyAggregatedListResponse> |
Promise |
create(rpcImpl, requestDelimited, responseDelimited)
public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): GlobalVmExtensionPolicies;Creates new GlobalVmExtensionPolicies 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 |
GlobalVmExtensionPolicies |
RPC service. Useful where requests and/or responses are streamed. |
get(request, callback)
public get(request: google.cloud.compute.v1beta.IGetGlobalVmExtensionPolicyRequest, callback: google.cloud.compute.v1beta.GlobalVmExtensionPolicies.GetCallback): void;Calls Get.
| Parameters | |
|---|---|
| Name | Description |
request |
IGetGlobalVmExtensionPolicyRequest
GetGlobalVmExtensionPolicyRequest message or plain object |
callback |
GetCallback
Node-style callback called with the error, if any, and GlobalVmExtensionPolicy |
| Returns | |
|---|---|
| Type | Description |
void |
|
get(request)
public get(request: google.cloud.compute.v1beta.IGetGlobalVmExtensionPolicyRequest): Promise<google.cloud.compute.v1beta.GlobalVmExtensionPolicy>;Calls Get.
| Parameter | |
|---|---|
| Name | Description |
request |
IGetGlobalVmExtensionPolicyRequest
GetGlobalVmExtensionPolicyRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.cloud.compute.v1beta.GlobalVmExtensionPolicy> |
Promise |