Network Security API (networksecurity:v1beta1)

2026-05-23

3 new methods

Additions

    Methods
  • networksecurity.organizations.locations.get

      Parameter Order : name

      Path : v1beta1/{+name}

      HTTP Method : GET

      Parameters :

        name

          Type : string

          Pattern : ^organizations/[^/]+/locations/[^/]+$

          Required : Yes

          Location : path

          Description : Resource name for the location.

      Flat Path : v1beta1/organizations/{organizationsId}/locations/{locationsId}

      Description : Gets information about a location.

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

  • networksecurity.organizations.locations.list

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

      Flat Path : v1beta1/organizations/{organizationsId}/locations

      Description : Lists information about the supported locations for this service. This method lists locations based on the resource scope provided in the ListLocationsRequest.name field: * **Global locations**: If `name` is empty, the method lists the public locations available to all projects. * **Project-specific locations**: If `name` follows the format `projects/{project}`, the method lists locations visible to that specific project. This includes public, private, or other project-specific locations enabled for the project. For gRPC and client library implementations, the resource name is passed as the `name` field. For direct service calls, the resource name is incorporated into the request path based on the specific service implementation and version.

      Parameters :

        filter

          Description : A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).

          Type : string

          Location : query

        extraLocationTypes

          Location : query

          Description : Optional. Do not use this field unless explicitly documented otherwise. This is primarily for internal usage.

          Repeated : Yes

          Type : string

        name

          Description : The resource that owns the locations collection, if applicable.

          Location : path

          Pattern : ^organizations/[^/]+$

          Required : Yes

          Type : string

        pageToken

          Location : query

          Description : A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.

          Type : string

        pageSize

          Location : query

          Format : int32

          Description : The maximum number of results to return. If not set, the service selects a default.

          Type : integer

      HTTP Method : GET

      Path : v1beta1/{+name}/locations

      Parameter Order : name

  • networksecurity.organizations.locations.addressGroups.testIamPermissions

      HTTP Method : POST

      Flat Path : v1beta1/organizations/{organizationsId}/locations/{locationsId}/addressGroups/{addressGroupsId}:testIamPermissions

      Description : Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.

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

      Parameters :

        resource

          Description : REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.

          Location : path

          Type : string

          Pattern : ^organizations/[^/]+/locations/[^/]+/addressGroups/[^/]+$

          Required : Yes

      Parameter Order : resource

      Path : v1beta1/{+resource}:testIamPermissions