Method: projects.locations.ipamAdminScopes.checkAvailability

Checks the availability of IPAM admin scopes in a given project and location.

HTTP request

GET https://cloudnumberregistry.googleapis.com/v1alpha/{parent=projects/*/locations/*}/ipamAdminScopes:checkAvailability

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. Parent value for the IpamAdminScopes.

Query parameters

Parameters
scopes[]

string

Required. The scopes of the IpamAdminScopes to look for.

Request body

The request body must be empty.

Response body

Message for response to checking the availability of IpamAdminScopes

If successful, the response body contains data with the following structure:

JSON representation
{
  "scopeAvailabilities": [
    {
      object (IpamAdminScopeAvailability)
    }
  ]
}
Fields
scopeAvailabilities[]

object (IpamAdminScopeAvailability)

The details of the requested scopes.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the parent resource:

  • cloudnumberregistry.ipamAdminScopes.list

For more information, see the IAM documentation.

IpamAdminScopeAvailability

Message for the availability of an IpamAdminScope

JSON representation
{
  "scope": string,
  "adminProject": string,
  "availability": enum (Availability)
}
Fields
scope

string

The scope of the IpamAdminScope.

adminProject

string (int64 format)

The admin project of the IpamAdminScope if it exists.

availability

enum (Availability)

The availability of the scope.

Availability

Enum for the availability of a given scope.

Enums
AVAILABILITY_UNSPECIFIED Unspecified availability.
AVAILABLE The scope is available.
UNAVAILABLE The scope is not available.