Compute Engine API: subnetworks. Creates and runs virtual machines on Google Cloud Platform. See: https://developers.google.com/compute/docs/reference/latest/api/reference/rest/v1/subnetworks
Compute Engine API: subnetworks. Creates and runs virtual machines on Google Cloud Platform. See: https://developers.google.com/compute/docs/reference/latest/api/reference/rest/v1/subnetworks
(aggregatedList$ auth parameters)Required parameters: project
Optional parameters: filter, includeAllScopes, maxResults, orderBy, pageToken, returnPartialSuccess
Retrieves an aggregated list of subnetworks.
https://developers.google.com/compute/docs/reference/latest/api/reference/rest/v1/subnetworks/aggregatedList Required parameters: project Optional parameters: filter, includeAllScopes, maxResults, orderBy, pageToken, returnPartialSuccess Retrieves an aggregated list of subnetworks.
(delete$ auth parameters)https://developers.google.com/compute/docs/reference/latest/api/reference/rest/v1/subnetworks/delete
Required parameters: project, region, subnetwork
Optional parameters: requestId
Deletes the specified subnetwork.
https://developers.google.com/compute/docs/reference/latest/api/reference/rest/v1/subnetworks/delete Required parameters: project, region, subnetwork Optional parameters: requestId Deletes the specified subnetwork.
(expandIpCidrRange$ auth parameters body)Required parameters: project, region, subnetwork
Optional parameters: requestId
Body:
{:ipCidrRange string}
Expands the IP CIDR range of the subnetwork to a specified value.
https://developers.google.com/compute/docs/reference/latest/api/reference/rest/v1/subnetworks/expandIpCidrRange
Required parameters: project, region, subnetwork
Optional parameters: requestId
Body: 
{:ipCidrRange string}
Expands the IP CIDR range of the subnetwork to a specified value.(get$ auth parameters)https://developers.google.com/compute/docs/reference/latest/api/reference/rest/v1/subnetworks/get
Required parameters: project, region, subnetwork
Optional parameters: none
Returns the specified subnetwork. Gets a list of available subnetworks list() request.
https://developers.google.com/compute/docs/reference/latest/api/reference/rest/v1/subnetworks/get Required parameters: project, region, subnetwork Optional parameters: none Returns the specified subnetwork. Gets a list of available subnetworks list() request.
(getIamPolicy$ auth parameters)Required parameters: project, region, resource
Optional parameters: optionsRequestedPolicyVersion
Gets the access control policy for a resource. May be empty if no such policy or resource exists.
https://developers.google.com/compute/docs/reference/latest/api/reference/rest/v1/subnetworks/getIamPolicy Required parameters: project, region, resource Optional parameters: optionsRequestedPolicyVersion Gets the access control policy for a resource. May be empty if no such policy or resource exists.
(insert$ auth parameters body)https://developers.google.com/compute/docs/reference/latest/api/reference/rest/v1/subnetworks/insert
Required parameters: project, region
Optional parameters: requestId
Body:
{:role string, :description string, :privateIpGoogleAccess boolean, :creationTimestamp string, :purpose string, :privateIpv6GoogleAccess string, :name string, :ipCidrRange string, :selfLink string, :state string, :ipv6CidrRange string, :region string, :gatewayAddress string, :id string, :kind string, :enableFlowLogs boolean, :network string, :secondaryIpRanges [{:ipCidrRange string, :rangeName string}], :logConfig {:aggregationInterval string, :enable boolean, :filterExpr string, :flowSampling number, :metadata string, :metadataFields [string]}, :fingerprint string}
Creates a subnetwork in the specified project using the data included in the request.
https://developers.google.com/compute/docs/reference/latest/api/reference/rest/v1/subnetworks/insert
Required parameters: project, region
Optional parameters: requestId
Body: 
{:role string,
 :description string,
 :privateIpGoogleAccess boolean,
 :creationTimestamp string,
 :purpose string,
 :privateIpv6GoogleAccess string,
 :name string,
 :ipCidrRange string,
 :selfLink string,
 :state string,
 :ipv6CidrRange string,
 :region string,
 :gatewayAddress string,
 :id string,
 :kind string,
 :enableFlowLogs boolean,
 :network string,
 :secondaryIpRanges [{:ipCidrRange string, :rangeName string}],
 :logConfig {:aggregationInterval string,
             :enable boolean,
             :filterExpr string,
             :flowSampling number,
             :metadata string,
             :metadataFields [string]},
 :fingerprint string}
Creates a subnetwork in the specified project using the data included in the request.(list$ auth parameters)https://developers.google.com/compute/docs/reference/latest/api/reference/rest/v1/subnetworks/list
Required parameters: project, region
Optional parameters: filter, maxResults, orderBy, pageToken, returnPartialSuccess
Retrieves a list of subnetworks available to the specified project.
https://developers.google.com/compute/docs/reference/latest/api/reference/rest/v1/subnetworks/list Required parameters: project, region Optional parameters: filter, maxResults, orderBy, pageToken, returnPartialSuccess Retrieves a list of subnetworks available to the specified project.
(listUsable$ auth parameters)Required parameters: project
Optional parameters: filter, maxResults, orderBy, pageToken, returnPartialSuccess
Retrieves an aggregated list of all usable subnetworks in the project.
https://developers.google.com/compute/docs/reference/latest/api/reference/rest/v1/subnetworks/listUsable Required parameters: project Optional parameters: filter, maxResults, orderBy, pageToken, returnPartialSuccess Retrieves an aggregated list of all usable subnetworks in the project.
(patch$ auth parameters body)https://developers.google.com/compute/docs/reference/latest/api/reference/rest/v1/subnetworks/patch
Required parameters: project, region, subnetwork
Optional parameters: drainTimeoutSeconds, requestId
Body:
{:role string, :description string, :privateIpGoogleAccess boolean, :creationTimestamp string, :purpose string, :privateIpv6GoogleAccess string, :name string, :ipCidrRange string, :selfLink string, :state string, :ipv6CidrRange string, :region string, :gatewayAddress string, :id string, :kind string, :enableFlowLogs boolean, :network string, :secondaryIpRanges [{:ipCidrRange string, :rangeName string}], :logConfig {:aggregationInterval string, :enable boolean, :filterExpr string, :flowSampling number, :metadata string, :metadataFields [string]}, :fingerprint string}
Patches the specified subnetwork with the data included in the request. Only certain fields can up updated with a patch request as indicated in the field descriptions. You must specify the current fingerprint of the subnetwork resource being patched.
https://developers.google.com/compute/docs/reference/latest/api/reference/rest/v1/subnetworks/patch
Required parameters: project, region, subnetwork
Optional parameters: drainTimeoutSeconds, requestId
Body: 
{:role string,
 :description string,
 :privateIpGoogleAccess boolean,
 :creationTimestamp string,
 :purpose string,
 :privateIpv6GoogleAccess string,
 :name string,
 :ipCidrRange string,
 :selfLink string,
 :state string,
 :ipv6CidrRange string,
 :region string,
 :gatewayAddress string,
 :id string,
 :kind string,
 :enableFlowLogs boolean,
 :network string,
 :secondaryIpRanges [{:ipCidrRange string, :rangeName string}],
 :logConfig {:aggregationInterval string,
             :enable boolean,
             :filterExpr string,
             :flowSampling number,
             :metadata string,
             :metadataFields [string]},
 :fingerprint string}
Patches the specified subnetwork with the data included in the request. Only certain fields can up updated with a patch request as indicated in the field descriptions. You must specify the current fingerprint of the subnetwork resource being patched.(setIamPolicy$ auth parameters body)Required parameters: project, region, resource
Optional parameters: none
Body:
{:bindings [{:bindingId string, :condition Expr, :members [string], :role string}], :etag string, :policy {:auditConfigs [AuditConfig], :bindings [Binding], :etag string, :iamOwned boolean, :rules [Rule], :version integer}}
Sets the access control policy on the specified resource. Replaces any existing policy.
https://developers.google.com/compute/docs/reference/latest/api/reference/rest/v1/subnetworks/setIamPolicy
Required parameters: project, region, resource
Optional parameters: none
Body: 
{:bindings [{:bindingId string,
             :condition Expr,
             :members [string],
             :role string}],
 :etag string,
 :policy {:auditConfigs [AuditConfig],
          :bindings [Binding],
          :etag string,
          :iamOwned boolean,
          :rules [Rule],
          :version integer}}
Sets the access control policy on the specified resource. Replaces any existing policy.(setPrivateIpGoogleAccess$ auth parameters body)Required parameters: project, region, subnetwork
Optional parameters: requestId
Body:
{:privateIpGoogleAccess boolean}
Set whether VMs in this subnet can access Google services without assigning external IP addresses through Private Google Access.
https://developers.google.com/compute/docs/reference/latest/api/reference/rest/v1/subnetworks/setPrivateIpGoogleAccess
Required parameters: project, region, subnetwork
Optional parameters: requestId
Body: 
{:privateIpGoogleAccess boolean}
Set whether VMs in this subnet can access Google services without assigning external IP addresses through Private Google Access.(testIamPermissions$ auth parameters body)Required parameters: project, region, resource
Optional parameters: none
Body:
{:permissions [string]}
Returns permissions that a caller has on the specified resource.
https://developers.google.com/compute/docs/reference/latest/api/reference/rest/v1/subnetworks/testIamPermissions
Required parameters: project, region, resource
Optional parameters: none
Body: 
{:permissions [string]}
Returns permissions that a caller has on the specified resource.cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs | 
| ← | Move to previous article | 
| → | Move to next article | 
| Ctrl+/ | Jump to the search field |