Package
@google-cloud/computeConstructors
(constructor)(opts)
constructor(opts?:ClientOptions);
Construct an instance of SubnetworksClient.
Parameter| Name | Description |
| opts | ClientOptions
|
Properties
apiEndpoint
staticgetapiEndpoint():string;
The DNS address for this API service - same as servicePath(), exists for compatibility reasons.
auth
descriptors
innerApiCalls
innerApiCalls:{[name:string]:Function;};
port
The port for this API service.
scopes
staticgetscopes():string[];
The scopes needed to make gRPC calls for every method defined in this service.
servicePath
staticgetservicePath():string;
The DNS address for this API service.
subnetworksStub
subnetworksStub?:Promise<{[name:string]:Function;}>;
warn
warn:(code:string,message:string,warnType?:string)=>void;
Methods
aggregatedListAsync(request, options)
aggregatedListAsync(request?:protos.google.cloud.compute.v1.IAggregatedListSubnetworksRequest,options?:CallOptions):AsyncIterable<[string,protos.google.cloud.compute.v1.ISubnetworksScopedList]>;
Equivalent toaggregatedList, but returns an iterable object.
for-await-of syntax is used with the iterable to get response elements on-demand.
Parameters| Name | Description |
| request | protos.google.cloud.compute.v1.IAggregatedListSubnetworksRequest
The request object that will be sent. |
| options | CallOptions
Call options. SeeCallOptions for more details. |
Returns| Type | Description |
| AsyncIterable<[ string, protos.google.cloud.compute.v1.ISubnetworksScopedList ]> | {Object} An iterable Object that allows [async iteration](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols). When you iterate the returned iterable, each element will be an object representing as tuple [string, [SubnetworksScopedList]]. The API will be called under the hood as needed, once per the page, so you can stop the iteration when you don't need more results. Please see the [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) for more details and examples. |
Exampleconstiterable=client.aggregatedListAsync(request);forawait(const[key,value]ofiterable){// process response}
close()
Terminate the gRPC channel and close the client.
The client will no longer be usable and all future behavior is undefined.
Returns| Type | Description |
| Promise<void> | {Promise} A promise that resolves when the client is closed. |
delete(request, options)
delete(request?:protos.google.cloud.compute.v1.IDeleteSubnetworkRequest,options?:CallOptions):Promise<[LROperation<protos.google.cloud.compute.v1.IOperation,null>,protos.google.cloud.compute.v1.IOperation|undefined,{}|undefined]>;
Parameters| Name | Description |
| request | protos.google.cloud.compute.v1.IDeleteSubnetworkRequest
|
| options | CallOptions
|
Returns| Type | Description |
| Promise<[LROperation<protos.google.cloud.compute.v1.IOperation, null>, protos.google.cloud.compute.v1.IOperation | undefined, {} | undefined ]> | |
delete(request, options, callback)
delete(request:protos.google.cloud.compute.v1.IDeleteSubnetworkRequest,options:CallOptions,callback:Callback<protos.google.cloud.compute.v1.IOperation,protos.google.cloud.compute.v1.IDeleteSubnetworkRequest|null|undefined,{}|null|undefined>):void;
Parameters| Name | Description |
| request | protos.google.cloud.compute.v1.IDeleteSubnetworkRequest
|
| options | CallOptions
|
| callback | Callback<protos.google.cloud.compute.v1.IOperation, protos.google.cloud.compute.v1.IDeleteSubnetworkRequest | null | undefined, {} | null | undefined>
|
Returnsdelete(request, callback)
delete(request:protos.google.cloud.compute.v1.IDeleteSubnetworkRequest,callback:Callback<protos.google.cloud.compute.v1.IOperation,protos.google.cloud.compute.v1.IDeleteSubnetworkRequest|null|undefined,{}|null|undefined>):void;
Parameters| Name | Description |
| request | protos.google.cloud.compute.v1.IDeleteSubnetworkRequest
|
| callback | Callback<protos.google.cloud.compute.v1.IOperation, protos.google.cloud.compute.v1.IDeleteSubnetworkRequest | null | undefined, {} | null | undefined>
|
ReturnsexpandIpCidrRange(request, options)
expandIpCidrRange(request?:protos.google.cloud.compute.v1.IExpandIpCidrRangeSubnetworkRequest,options?:CallOptions):Promise<[LROperation<protos.google.cloud.compute.v1.IOperation,null>,protos.google.cloud.compute.v1.IOperation|undefined,{}|undefined]>;
Parameters| Name | Description |
| request | protos.google.cloud.compute.v1.IExpandIpCidrRangeSubnetworkRequest
|
| options | CallOptions
|
Returns| Type | Description |
| Promise<[LROperation<protos.google.cloud.compute.v1.IOperation, null>, protos.google.cloud.compute.v1.IOperation | undefined, {} | undefined ]> | |
expandIpCidrRange(request, options, callback)
expandIpCidrRange(request:protos.google.cloud.compute.v1.IExpandIpCidrRangeSubnetworkRequest,options:CallOptions,callback:Callback<protos.google.cloud.compute.v1.IOperation,protos.google.cloud.compute.v1.IExpandIpCidrRangeSubnetworkRequest|null|undefined,{}|null|undefined>):void;
Parameters| Name | Description |
| request | protos.google.cloud.compute.v1.IExpandIpCidrRangeSubnetworkRequest
|
| options | CallOptions
|
| callback | Callback<protos.google.cloud.compute.v1.IOperation, protos.google.cloud.compute.v1.IExpandIpCidrRangeSubnetworkRequest | null | undefined, {} | null | undefined>
|
ReturnsexpandIpCidrRange(request, callback)
expandIpCidrRange(request:protos.google.cloud.compute.v1.IExpandIpCidrRangeSubnetworkRequest,callback:Callback<protos.google.cloud.compute.v1.IOperation,protos.google.cloud.compute.v1.IExpandIpCidrRangeSubnetworkRequest|null|undefined,{}|null|undefined>):void;
Parameters| Name | Description |
| request | protos.google.cloud.compute.v1.IExpandIpCidrRangeSubnetworkRequest
|
| callback | Callback<protos.google.cloud.compute.v1.IOperation, protos.google.cloud.compute.v1.IExpandIpCidrRangeSubnetworkRequest | null | undefined, {} | null | undefined>
|
Returnsget(request, options)
get(request?:protos.google.cloud.compute.v1.IGetSubnetworkRequest,options?:CallOptions):Promise<[protos.google.cloud.compute.v1.ISubnetwork,protos.google.cloud.compute.v1.IGetSubnetworkRequest|undefined,{}|undefined]>;
Parameters| Name | Description |
| request | protos.google.cloud.compute.v1.IGetSubnetworkRequest
|
| options | CallOptions
|
Returns| Type | Description |
| Promise<[ protos.google.cloud.compute.v1.ISubnetwork, protos.google.cloud.compute.v1.IGetSubnetworkRequest | undefined, {} | undefined ]> | |
get(request, options, callback)
get(request:protos.google.cloud.compute.v1.IGetSubnetworkRequest,options:CallOptions,callback:Callback<protos.google.cloud.compute.v1.ISubnetwork,protos.google.cloud.compute.v1.IGetSubnetworkRequest|null|undefined,{}|null|undefined>):void;
Parameters| Name | Description |
| request | protos.google.cloud.compute.v1.IGetSubnetworkRequest
|
| options | CallOptions
|
| callback | Callback<protos.google.cloud.compute.v1.ISubnetwork, protos.google.cloud.compute.v1.IGetSubnetworkRequest | null | undefined, {} | null | undefined>
|
Returnsget(request, callback)
get(request:protos.google.cloud.compute.v1.IGetSubnetworkRequest,callback:Callback<protos.google.cloud.compute.v1.ISubnetwork,protos.google.cloud.compute.v1.IGetSubnetworkRequest|null|undefined,{}|null|undefined>):void;
Parameters| Name | Description |
| request | protos.google.cloud.compute.v1.IGetSubnetworkRequest
|
| callback | Callback<protos.google.cloud.compute.v1.ISubnetwork, protos.google.cloud.compute.v1.IGetSubnetworkRequest | null | undefined, {} | null | undefined>
|
ReturnsgetIamPolicy(request, options)
getIamPolicy(request?:protos.google.cloud.compute.v1.IGetIamPolicySubnetworkRequest,options?:CallOptions):Promise<[protos.google.cloud.compute.v1.IPolicy,protos.google.cloud.compute.v1.IGetIamPolicySubnetworkRequest|undefined,{}|undefined]>;
Parameters| Name | Description |
| request | protos.google.cloud.compute.v1.IGetIamPolicySubnetworkRequest
|
| options | CallOptions
|
Returns| Type | Description |
| Promise<[ protos.google.cloud.compute.v1.IPolicy, protos.google.cloud.compute.v1.IGetIamPolicySubnetworkRequest | undefined, {} | undefined ]> | |
getIamPolicy(request, options, callback)
getIamPolicy(request:protos.google.cloud.compute.v1.IGetIamPolicySubnetworkRequest,options:CallOptions,callback:Callback<protos.google.cloud.compute.v1.IPolicy,protos.google.cloud.compute.v1.IGetIamPolicySubnetworkRequest|null|undefined,{}|null|undefined>):void;
Parameters| Name | Description |
| request | protos.google.cloud.compute.v1.IGetIamPolicySubnetworkRequest
|
| options | CallOptions
|
| callback | Callback<protos.google.cloud.compute.v1.IPolicy, protos.google.cloud.compute.v1.IGetIamPolicySubnetworkRequest | null | undefined, {} | null | undefined>
|
ReturnsgetIamPolicy(request, callback)
getIamPolicy(request:protos.google.cloud.compute.v1.IGetIamPolicySubnetworkRequest,callback:Callback<protos.google.cloud.compute.v1.IPolicy,protos.google.cloud.compute.v1.IGetIamPolicySubnetworkRequest|null|undefined,{}|null|undefined>):void;
Parameters| Name | Description |
| request | protos.google.cloud.compute.v1.IGetIamPolicySubnetworkRequest
|
| callback | Callback<protos.google.cloud.compute.v1.IPolicy, protos.google.cloud.compute.v1.IGetIamPolicySubnetworkRequest | null | undefined, {} | null | undefined>
|
ReturnsgetProjectId()
getProjectId():Promise<string>;
Returns| Type | Description |
| Promise<string> | |
getProjectId(callback)
getProjectId(callback:Callback<string,undefined,undefined>):void;
Parameter| Name | Description |
| callback | Callback<string, undefined, undefined>
|
Returnsinitialize()
initialize():Promise<{[name:string]:Function;}>;
Initialize the client. Performs asynchronous operations (such as authentication) and prepares the client. This function will be called automatically when any class method is called for the first time, but if you need to initialize it before calling an actual method, feel free to call initialize() directly.
You can await on this method if you want to make sure the client is initialized.
Returns| Type | Description |
| Promise<{ [name: string]:Function; }> | {Promise} A promise that resolves to an authenticated service stub. |
insert(request, options)
insert(request?:protos.google.cloud.compute.v1.IInsertSubnetworkRequest,options?:CallOptions):Promise<[LROperation<protos.google.cloud.compute.v1.IOperation,null>,protos.google.cloud.compute.v1.IOperation|undefined,{}|undefined]>;
Parameters| Name | Description |
| request | protos.google.cloud.compute.v1.IInsertSubnetworkRequest
|
| options | CallOptions
|
Returns| Type | Description |
| Promise<[LROperation<protos.google.cloud.compute.v1.IOperation, null>, protos.google.cloud.compute.v1.IOperation | undefined, {} | undefined ]> | |
insert(request, options, callback)
insert(request:protos.google.cloud.compute.v1.IInsertSubnetworkRequest,options:CallOptions,callback:Callback<protos.google.cloud.compute.v1.IOperation,protos.google.cloud.compute.v1.IInsertSubnetworkRequest|null|undefined,{}|null|undefined>):void;
Parameters| Name | Description |
| request | protos.google.cloud.compute.v1.IInsertSubnetworkRequest
|
| options | CallOptions
|
| callback | Callback<protos.google.cloud.compute.v1.IOperation, protos.google.cloud.compute.v1.IInsertSubnetworkRequest | null | undefined, {} | null | undefined>
|
Returnsinsert(request, callback)
insert(request:protos.google.cloud.compute.v1.IInsertSubnetworkRequest,callback:Callback<protos.google.cloud.compute.v1.IOperation,protos.google.cloud.compute.v1.IInsertSubnetworkRequest|null|undefined,{}|null|undefined>):void;
Parameters| Name | Description |
| request | protos.google.cloud.compute.v1.IInsertSubnetworkRequest
|
| callback | Callback<protos.google.cloud.compute.v1.IOperation, protos.google.cloud.compute.v1.IInsertSubnetworkRequest | null | undefined, {} | null | undefined>
|
Returnslist(request, options)
list(request?:protos.google.cloud.compute.v1.IListSubnetworksRequest,options?:CallOptions):Promise<[protos.google.cloud.compute.v1.ISubnetwork[],protos.google.cloud.compute.v1.IListSubnetworksRequest|null,protos.google.cloud.compute.v1.ISubnetworkList]>;
Parameters| Name | Description |
| request | protos.google.cloud.compute.v1.IListSubnetworksRequest
|
| options | CallOptions
|
Returns| Type | Description |
| Promise<[ protos.google.cloud.compute.v1.ISubnetwork[], protos.google.cloud.compute.v1.IListSubnetworksRequest | null, protos.google.cloud.compute.v1.ISubnetworkList ]> | |
list(request, options, callback)
list(request:protos.google.cloud.compute.v1.IListSubnetworksRequest,options:CallOptions,callback:PaginationCallback<protos.google.cloud.compute.v1.IListSubnetworksRequest,protos.google.cloud.compute.v1.ISubnetworkList|null|undefined,protos.google.cloud.compute.v1.ISubnetwork>):void;
Parameters| Name | Description |
| request | protos.google.cloud.compute.v1.IListSubnetworksRequest
|
| options | CallOptions
|
| callback | PaginationCallback<protos.google.cloud.compute.v1.IListSubnetworksRequest, protos.google.cloud.compute.v1.ISubnetworkList | null | undefined, protos.google.cloud.compute.v1.ISubnetwork>
|
Returnslist(request, callback)
list(request:protos.google.cloud.compute.v1.IListSubnetworksRequest,callback:PaginationCallback<protos.google.cloud.compute.v1.IListSubnetworksRequest,protos.google.cloud.compute.v1.ISubnetworkList|null|undefined,protos.google.cloud.compute.v1.ISubnetwork>):void;
Parameters| Name | Description |
| request | protos.google.cloud.compute.v1.IListSubnetworksRequest
|
| callback | PaginationCallback<protos.google.cloud.compute.v1.IListSubnetworksRequest, protos.google.cloud.compute.v1.ISubnetworkList | null | undefined, protos.google.cloud.compute.v1.ISubnetwork>
|
ReturnslistAsync(request, options)
listAsync(request?:protos.google.cloud.compute.v1.IListSubnetworksRequest,options?:CallOptions):AsyncIterable<protos.google.cloud.compute.v1.ISubnetwork>;
Equivalent tolist, but returns an iterable object.
for-await-of syntax is used with the iterable to get response elements on-demand.
Parameters| Name | Description |
| request | protos.google.cloud.compute.v1.IListSubnetworksRequest
The request object that will be sent. |
| options | CallOptions
Call options. SeeCallOptions for more details. |
Returns| Type | Description |
| AsyncIterable<protos.google.cloud.compute.v1.ISubnetwork> | {Object} An iterable Object that allows [async iteration](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols). When you iterate the returned iterable, each element will be an object representing [Subnetwork]. The API will be called under the hood as needed, once per the page, so you can stop the iteration when you don't need more results. Please see the [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) for more details and examples. |
Exampleconstiterable=client.listAsync(request);forawait(constresponseofiterable){// process response}
listStream(request, options)
listStream(request?:protos.google.cloud.compute.v1.IListSubnetworksRequest,options?:CallOptions):Transform;
Equivalent tomethod.name.toCamelCase(), but returns a NodeJS Stream object.
Parameters| Name | Description |
| request | protos.google.cloud.compute.v1.IListSubnetworksRequest
The request object that will be sent. |
| options | CallOptions
Call options. SeeCallOptions for more details. |
Returns| Type | Description |
| Transform | {Stream} An object stream which emits an object representing [Subnetwork] on 'data' event. The client library will perform auto-pagination by default: it will call the API as many times as needed. Note that it can affect your quota. We recommend usinglistAsync() method described below for async iteration which you can stop as needed. Please see the [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) for more details and examples. |
listUsable(request, options)
listUsable(request?:protos.google.cloud.compute.v1.IListUsableSubnetworksRequest,options?:CallOptions):Promise<[protos.google.cloud.compute.v1.IUsableSubnetwork[],protos.google.cloud.compute.v1.IListUsableSubnetworksRequest|null,protos.google.cloud.compute.v1.IUsableSubnetworksAggregatedList]>;
Parameters| Name | Description |
| request | protos.google.cloud.compute.v1.IListUsableSubnetworksRequest
|
| options | CallOptions
|
Returns| Type | Description |
| Promise<[ protos.google.cloud.compute.v1.IUsableSubnetwork[], protos.google.cloud.compute.v1.IListUsableSubnetworksRequest | null, protos.google.cloud.compute.v1.IUsableSubnetworksAggregatedList ]> | |
listUsable(request, options, callback)
listUsable(request:protos.google.cloud.compute.v1.IListUsableSubnetworksRequest,options:CallOptions,callback:PaginationCallback<protos.google.cloud.compute.v1.IListUsableSubnetworksRequest,protos.google.cloud.compute.v1.IUsableSubnetworksAggregatedList|null|undefined,protos.google.cloud.compute.v1.IUsableSubnetwork>):void;
Parameters| Name | Description |
| request | protos.google.cloud.compute.v1.IListUsableSubnetworksRequest
|
| options | CallOptions
|
| callback | PaginationCallback<protos.google.cloud.compute.v1.IListUsableSubnetworksRequest, protos.google.cloud.compute.v1.IUsableSubnetworksAggregatedList | null | undefined, protos.google.cloud.compute.v1.IUsableSubnetwork>
|
ReturnslistUsable(request, callback)
listUsable(request:protos.google.cloud.compute.v1.IListUsableSubnetworksRequest,callback:PaginationCallback<protos.google.cloud.compute.v1.IListUsableSubnetworksRequest,protos.google.cloud.compute.v1.IUsableSubnetworksAggregatedList|null|undefined,protos.google.cloud.compute.v1.IUsableSubnetwork>):void;
Parameters| Name | Description |
| request | protos.google.cloud.compute.v1.IListUsableSubnetworksRequest
|
| callback | PaginationCallback<protos.google.cloud.compute.v1.IListUsableSubnetworksRequest, protos.google.cloud.compute.v1.IUsableSubnetworksAggregatedList | null | undefined, protos.google.cloud.compute.v1.IUsableSubnetwork>
|
ReturnslistUsableAsync(request, options)
listUsableAsync(request?:protos.google.cloud.compute.v1.IListUsableSubnetworksRequest,options?:CallOptions):AsyncIterable<protos.google.cloud.compute.v1.IUsableSubnetwork>;
Equivalent tolistUsable, but returns an iterable object.
for-await-of syntax is used with the iterable to get response elements on-demand.
Parameters| Name | Description |
| request | protos.google.cloud.compute.v1.IListUsableSubnetworksRequest
The request object that will be sent. |
| options | CallOptions
Call options. SeeCallOptions for more details. |
Returns| Type | Description |
| AsyncIterable<protos.google.cloud.compute.v1.IUsableSubnetwork> | {Object} An iterable Object that allows [async iteration](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols). When you iterate the returned iterable, each element will be an object representing [UsableSubnetwork]. The API will be called under the hood as needed, once per the page, so you can stop the iteration when you don't need more results. Please see the [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) for more details and examples. |
Exampleconstiterable=client.listUsableAsync(request);forawait(constresponseofiterable){// process response}
listUsableStream(request, options)
listUsableStream(request?:protos.google.cloud.compute.v1.IListUsableSubnetworksRequest,options?:CallOptions):Transform;
Equivalent tomethod.name.toCamelCase(), but returns a NodeJS Stream object.
Parameters| Name | Description |
| request | protos.google.cloud.compute.v1.IListUsableSubnetworksRequest
The request object that will be sent. |
| options | CallOptions
Call options. SeeCallOptions for more details. |
Returns| Type | Description |
| Transform | {Stream} An object stream which emits an object representing [UsableSubnetwork] on 'data' event. The client library will perform auto-pagination by default: it will call the API as many times as needed. Note that it can affect your quota. We recommend usinglistUsableAsync() method described below for async iteration which you can stop as needed. Please see the [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) for more details and examples. |
patch(request, options)
patch(request?:protos.google.cloud.compute.v1.IPatchSubnetworkRequest,options?:CallOptions):Promise<[LROperation<protos.google.cloud.compute.v1.IOperation,null>,protos.google.cloud.compute.v1.IOperation|undefined,{}|undefined]>;
Parameters| Name | Description |
| request | protos.google.cloud.compute.v1.IPatchSubnetworkRequest
|
| options | CallOptions
|
Returns| Type | Description |
| Promise<[LROperation<protos.google.cloud.compute.v1.IOperation, null>, protos.google.cloud.compute.v1.IOperation | undefined, {} | undefined ]> | |
patch(request, options, callback)
patch(request:protos.google.cloud.compute.v1.IPatchSubnetworkRequest,options:CallOptions,callback:Callback<protos.google.cloud.compute.v1.IOperation,protos.google.cloud.compute.v1.IPatchSubnetworkRequest|null|undefined,{}|null|undefined>):void;
Parameters| Name | Description |
| request | protos.google.cloud.compute.v1.IPatchSubnetworkRequest
|
| options | CallOptions
|
| callback | Callback<protos.google.cloud.compute.v1.IOperation, protos.google.cloud.compute.v1.IPatchSubnetworkRequest | null | undefined, {} | null | undefined>
|
Returnspatch(request, callback)
patch(request:protos.google.cloud.compute.v1.IPatchSubnetworkRequest,callback:Callback<protos.google.cloud.compute.v1.IOperation,protos.google.cloud.compute.v1.IPatchSubnetworkRequest|null|undefined,{}|null|undefined>):void;
Parameters| Name | Description |
| request | protos.google.cloud.compute.v1.IPatchSubnetworkRequest
|
| callback | Callback<protos.google.cloud.compute.v1.IOperation, protos.google.cloud.compute.v1.IPatchSubnetworkRequest | null | undefined, {} | null | undefined>
|
ReturnssetIamPolicy(request, options)
setIamPolicy(request?:protos.google.cloud.compute.v1.ISetIamPolicySubnetworkRequest,options?:CallOptions):Promise<[protos.google.cloud.compute.v1.IPolicy,protos.google.cloud.compute.v1.ISetIamPolicySubnetworkRequest|undefined,{}|undefined]>;
Parameters| Name | Description |
| request | protos.google.cloud.compute.v1.ISetIamPolicySubnetworkRequest
|
| options | CallOptions
|
Returns| Type | Description |
| Promise<[ protos.google.cloud.compute.v1.IPolicy, protos.google.cloud.compute.v1.ISetIamPolicySubnetworkRequest | undefined, {} | undefined ]> | |
setIamPolicy(request, options, callback)
setIamPolicy(request:protos.google.cloud.compute.v1.ISetIamPolicySubnetworkRequest,options:CallOptions,callback:Callback<protos.google.cloud.compute.v1.IPolicy,protos.google.cloud.compute.v1.ISetIamPolicySubnetworkRequest|null|undefined,{}|null|undefined>):void;
Parameters| Name | Description |
| request | protos.google.cloud.compute.v1.ISetIamPolicySubnetworkRequest
|
| options | CallOptions
|
| callback | Callback<protos.google.cloud.compute.v1.IPolicy, protos.google.cloud.compute.v1.ISetIamPolicySubnetworkRequest | null | undefined, {} | null | undefined>
|
ReturnssetIamPolicy(request, callback)
setIamPolicy(request:protos.google.cloud.compute.v1.ISetIamPolicySubnetworkRequest,callback:Callback<protos.google.cloud.compute.v1.IPolicy,protos.google.cloud.compute.v1.ISetIamPolicySubnetworkRequest|null|undefined,{}|null|undefined>):void;
Parameters| Name | Description |
| request | protos.google.cloud.compute.v1.ISetIamPolicySubnetworkRequest
|
| callback | Callback<protos.google.cloud.compute.v1.IPolicy, protos.google.cloud.compute.v1.ISetIamPolicySubnetworkRequest | null | undefined, {} | null | undefined>
|
ReturnssetPrivateIpGoogleAccess(request, options)
setPrivateIpGoogleAccess(request?:protos.google.cloud.compute.v1.ISetPrivateIpGoogleAccessSubnetworkRequest,options?:CallOptions):Promise<[LROperation<protos.google.cloud.compute.v1.IOperation,null>,protos.google.cloud.compute.v1.IOperation|undefined,{}|undefined]>;
Parameters| Name | Description |
| request | protos.google.cloud.compute.v1.ISetPrivateIpGoogleAccessSubnetworkRequest
|
| options | CallOptions
|
Returns| Type | Description |
| Promise<[LROperation<protos.google.cloud.compute.v1.IOperation, null>, protos.google.cloud.compute.v1.IOperation | undefined, {} | undefined ]> | |
setPrivateIpGoogleAccess(request, options, callback)
setPrivateIpGoogleAccess(request:protos.google.cloud.compute.v1.ISetPrivateIpGoogleAccessSubnetworkRequest,options:CallOptions,callback:Callback<protos.google.cloud.compute.v1.IOperation,protos.google.cloud.compute.v1.ISetPrivateIpGoogleAccessSubnetworkRequest|null|undefined,{}|null|undefined>):void;
Parameters| Name | Description |
| request | protos.google.cloud.compute.v1.ISetPrivateIpGoogleAccessSubnetworkRequest
|
| options | CallOptions
|
| callback | Callback<protos.google.cloud.compute.v1.IOperation, protos.google.cloud.compute.v1.ISetPrivateIpGoogleAccessSubnetworkRequest | null | undefined, {} | null | undefined>
|
ReturnssetPrivateIpGoogleAccess(request, callback)
setPrivateIpGoogleAccess(request:protos.google.cloud.compute.v1.ISetPrivateIpGoogleAccessSubnetworkRequest,callback:Callback<protos.google.cloud.compute.v1.IOperation,protos.google.cloud.compute.v1.ISetPrivateIpGoogleAccessSubnetworkRequest|null|undefined,{}|null|undefined>):void;
Parameters| Name | Description |
| request | protos.google.cloud.compute.v1.ISetPrivateIpGoogleAccessSubnetworkRequest
|
| callback | Callback<protos.google.cloud.compute.v1.IOperation, protos.google.cloud.compute.v1.ISetPrivateIpGoogleAccessSubnetworkRequest | null | undefined, {} | null | undefined>
|
ReturnstestIamPermissions(request, options)
testIamPermissions(request?:protos.google.cloud.compute.v1.ITestIamPermissionsSubnetworkRequest,options?:CallOptions):Promise<[protos.google.cloud.compute.v1.ITestPermissionsResponse,(protos.google.cloud.compute.v1.ITestIamPermissionsSubnetworkRequest|undefined),{}|undefined]>;
Parameters| Name | Description |
| request | protos.google.cloud.compute.v1.ITestIamPermissionsSubnetworkRequest
|
| options | CallOptions
|
Returns| Type | Description |
| Promise<[ protos.google.cloud.compute.v1.ITestPermissionsResponse, (protos.google.cloud.compute.v1.ITestIamPermissionsSubnetworkRequest | undefined), {} | undefined ]> | |
testIamPermissions(request, options, callback)
testIamPermissions(request:protos.google.cloud.compute.v1.ITestIamPermissionsSubnetworkRequest,options:CallOptions,callback:Callback<protos.google.cloud.compute.v1.ITestPermissionsResponse,protos.google.cloud.compute.v1.ITestIamPermissionsSubnetworkRequest|null|undefined,{}|null|undefined>):void;
Parameters| Name | Description |
| request | protos.google.cloud.compute.v1.ITestIamPermissionsSubnetworkRequest
|
| options | CallOptions
|
| callback | Callback<protos.google.cloud.compute.v1.ITestPermissionsResponse, protos.google.cloud.compute.v1.ITestIamPermissionsSubnetworkRequest | null | undefined, {} | null | undefined>
|
ReturnstestIamPermissions(request, callback)
testIamPermissions(request:protos.google.cloud.compute.v1.ITestIamPermissionsSubnetworkRequest,callback:Callback<protos.google.cloud.compute.v1.ITestPermissionsResponse,protos.google.cloud.compute.v1.ITestIamPermissionsSubnetworkRequest|null|undefined,{}|null|undefined>):void;
Parameters| Name | Description |
| request | protos.google.cloud.compute.v1.ITestIamPermissionsSubnetworkRequest
|
| callback | Callback<protos.google.cloud.compute.v1.ITestPermissionsResponse, protos.google.cloud.compute.v1.ITestIamPermissionsSubnetworkRequest | null | undefined, {} | null | undefined>
|
Returns