v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-135196224.4 KB
projects

Lists subnets in a given private cloud.

get/v1/{+parent}/subnets

Path parameters

parentstring required

Required. The resource name of the private cloud to be queried for subnets. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud

Query parameters

pageSizeinteger

The maximum number of subnets to return in one page. The service may return fewer than this value. The maximum value is coerced to 1000. The default value of this field is 500.

pageTokenstring

A page token, received from a previous ListSubnetsRequest call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListSubnetsRequest must match the call that provided the page token.

Response

Successful response