Network Services API (networkservices:v1beta1)

2023-06-27

8 new methods

Additions

    Methods
  • networkservices.projects.locations.serviceLbPolicies.testIamPermissions

      Parameter Order: resource

      Path: v1beta1/{+resource}:testIamPermissions

      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.

          Type: string

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

          Required: Yes

          Location: path

      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.

      Flat Path: v1beta1/projects/{projectsId}/locations/{locationsId}/serviceLbPolicies/{serviceLbPoliciesId}:testIamPermissions

      HTTP Method: POST

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

  • networkservices.projects.locations.serviceLbPolicies.delete

      Flat Path: v1beta1/projects/{projectsId}/locations/{locationsId}/serviceLbPolicies/{serviceLbPoliciesId}

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

      Description: Deletes a single ServiceLbPolicy.

      Parameters:

        name

          Type: string

          Description: Required. A name of the ServiceLbPolicy to delete. Must be in the format `projects/{project}/locations/{location}/serviceLbPolicies/*`.

          Location: path

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

          Required: Yes

      HTTP Method: DELETE

      Path: v1beta1/{+name}

      Parameter Order: name

  • networkservices.projects.locations.serviceLbPolicies.list

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

      Path: v1beta1/{+parent}/serviceLbPolicies

      Parameter Order: parent

      Parameters:

        parent

          Location: path

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

          Required: Yes

          Description: Required. The project and location from which the ServiceLbPolicies should be listed, specified in the format `projects/{project}/locations/{location}`.

          Type: string

        pageToken

          Location: query

          Description: The value returned by the last `ListServiceLbPoliciesResponse` Indicates that this is a continuation of a prior `ListRouters` call, and that the system should return the next page of data.

          Type: string

        pageSize

          Format: int32

          Description: Maximum number of ServiceLbPolicies to return per call.

          Location: query

          Type: integer

      Description: Lists ServiceLbPolicies in a given project and location.

      Flat Path: v1beta1/projects/{projectsId}/locations/{locationsId}/serviceLbPolicies

      HTTP Method: GET

  • networkservices.projects.locations.serviceLbPolicies.get

      Parameters:

        name

          Description: Required. A name of the ServiceLbPolicy to get. Must be in the format `projects/{project}/locations/{location}/serviceLbPolicies/*`.

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

          Location: path

          Required: Yes

          Type: string

      HTTP Method: GET

      Path: v1beta1/{+name}

      Parameter Order: name

      Description: Gets details of a single ServiceLbPolicy.

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

      Flat Path: v1beta1/projects/{projectsId}/locations/{locationsId}/serviceLbPolicies/{serviceLbPoliciesId}

  • networkservices.projects.locations.serviceLbPolicies.getIamPolicy

      HTTP Method: GET

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

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

      Path: v1beta1/{+resource}:getIamPolicy

      Parameters:

        resource

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

          Required: Yes

          Type: string

          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.

          Location: path

        options.requestedPolicyVersion

          Location: query

          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).

          Format: int32

          Type: integer

      Parameter Order: resource

      Flat Path: v1beta1/projects/{projectsId}/locations/{locationsId}/serviceLbPolicies/{serviceLbPoliciesId}:getIamPolicy

  • networkservices.projects.locations.serviceLbPolicies.patch

      Description: Updates the parameters of a single ServiceLbPolicy.

      HTTP Method: PATCH

      Path: v1beta1/{+name}

      Parameter Order: name

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

      Parameters:

        updateMask

          Location: query

          Format: google-fieldmask

          Type: string

          Description: Optional. Field mask is used to specify the fields to be overwritten in the ServiceLbPolicy resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

        name

          Required: Yes

          Description: Required. Name of the ServiceLbPolicy resource. It matches pattern `projects/{project}/locations/{location}/serviceLbPolicies/{service_lb_policy_name}`.

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

          Location: path

          Type: string

      Flat Path: v1beta1/projects/{projectsId}/locations/{locationsId}/serviceLbPolicies/{serviceLbPoliciesId}

  • networkservices.projects.locations.serviceLbPolicies.create

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

      Flat Path: v1beta1/projects/{projectsId}/locations/{locationsId}/serviceLbPolicies

      Description: Creates a new ServiceLbPolicy in a given project and location.

      Path: v1beta1/{+parent}/serviceLbPolicies

      Parameters:

        parent

          Description: Required. The parent resource of the ServiceLbPolicy. Must be in the format `projects/{project}/locations/{location}`.

          Required: Yes

          Location: path

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

          Type: string

        serviceLbPolicyId

          Location: query

          Description: Required. Short name of the ServiceLbPolicy resource to be created. E.g. for resource name `projects/{project}/locations/{location}/serviceLbPolicies/{service_lb_policy_name}`. the id is value of {service_lb_policy_name}

          Type: string

      HTTP Method: POST

      Parameter Order: parent

  • networkservices.projects.locations.serviceLbPolicies.setIamPolicy

      Flat Path: v1beta1/projects/{projectsId}/locations/{locationsId}/serviceLbPolicies/{serviceLbPoliciesId}:setIamPolicy

      Parameter Order: resource

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

      HTTP Method: POST

      Parameters:

        resource

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

          Required: Yes

          Location: path

          Type: string

          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.

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

      Path: v1beta1/{+resource}:setIamPolicy