Network Security API (networksecurity:v1beta1)

2022-12-11

7 new methods

Additions

    Methods
  • networksecurity.projects.locations.addressGroups.setIamPolicy

      HTTP Method: POST

      Path: v1beta1/{+resource}:setIamPolicy

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

      Parameter Order: resource

      Flat Path: v1beta1/projects/{projectsId}/locations/{locationsId}/addressGroups/{addressGroupsId}:setIamPolicy

      Parameters:

        resource

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

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

          Location: path

          Required: Yes

          Type: string

      Description: Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.

  • networksecurity.projects.locations.addressGroups.testIamPermissions

      Flat Path: v1beta1/projects/{projectsId}/locations/{locationsId}/addressGroups/{addressGroupsId}:testIamPermissions

      HTTP Method: POST

      Path: v1beta1/{+resource}: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

      Parameter Order: resource

      Parameters:

        resource

          Required: Yes

          Location: path

          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.

          Type: string

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

  • networksecurity.projects.locations.addressGroups.getIamPolicy

      Parameters:

        options.requestedPolicyVersion

          Type: integer

          Location: query

          Format: int32

          Description: Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).

        resource

          Type: string

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

          Required: Yes

          Location: path

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

      Flat Path: v1beta1/projects/{projectsId}/locations/{locationsId}/addressGroups/{addressGroupsId}:getIamPolicy

      Description: Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.

      Parameter Order: resource

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

      Path: v1beta1/{+resource}:getIamPolicy

      HTTP Method: GET

  • networksecurity.organizations.locations.operations.list

      Path: v1beta1/{+name}/operations

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

      Parameter Order: name

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

      Description: Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` binding allows API services to override the binding to use different resource name schemes, such as `users/*/operations`. To override the binding, API services can add a binding such as `"/v1/{name=users/*}/operations"` to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must ensure the name binding is the parent resource, without the operations collection id.

      HTTP Method: GET

      Parameters:

        filter

          Description: The standard list filter.

          Type: string

          Location: query

        pageToken

          Description: The standard list page token.

          Type: string

          Location: query

        pageSize

          Type: integer

          Description: The standard list page size.

          Location: query

          Format: int32

        name

          Required: Yes

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

          Description: The name of the operation's parent resource.

          Location: path

          Type: string

  • networksecurity.organizations.locations.operations.cancel

      Parameter Order: name

      Parameters:

        name

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

          Type: string

          Description: The name of the operation resource to be cancelled.

          Required: Yes

          Location: path

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

      Flat Path: v1beta1/organizations/{organizationsId}/locations/{locationsId}/operations/{operationsId}:cancel

      Path: v1beta1/{+name}:cancel

      Description: Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.

      HTTP Method: POST

  • networksecurity.organizations.locations.operations.get

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

      Parameter Order: name

      Description: Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.

      Parameters:

        name

          Required: Yes

          Type: string

          Location: path

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

          Description: The name of the operation resource.

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

      HTTP Method: GET

      Path: v1beta1/{+name}

  • networksecurity.organizations.locations.operations.delete

      HTTP Method: DELETE

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

      Description: Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.

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

      Parameters:

        name

          Location: path

          Required: Yes

          Type: string

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

          Description: The name of the operation resource to be deleted.

      Path: v1beta1/{+name}

      Parameter Order: name