Workload Manager API (workloadmanager:v1)

2022-12-11

9 new methods | New API

Additions

    Methods
  • workloadmanager.projects.locations.get

      Parameter Order: name

      Parameters:

        name

          Location: path

          Required: Yes

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

          Description: Resource name for the location.

          Type: string

      HTTP Method: GET

      Path: v1/{+name}

      Flat Path: v1/projects/{projectsId}/locations/{locationsId}

      Description: Gets information about a location.

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

  • workloadmanager.projects.locations.list

      Path: v1/{+name}/locations

      HTTP Method: GET

      Parameter Order: name

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

      Parameters:

        filter

          Type: string

          Location: query

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

        name

          Required: Yes

          Type: string

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

          Pattern: ^projects/[^/]+$

          Location: path

        pageSize

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

          Format: int32

          Location: query

          Type: integer

        pageToken

          Type: string

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

          Location: query

      Flat Path: v1/projects/{projectsId}/locations

      Description: Lists information about the supported locations for this service.

  • workloadmanager.projects.locations.operations.delete

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

      Parameters:

        name

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

          Location: path

          Type: string

          Required: Yes

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

      Flat Path: v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}

      Path: v1/{+name}

      Parameter Order: name

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

      HTTP Method: DELETE

  • workloadmanager.projects.locations.operations.cancel

      Path: v1/{+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`.

      Parameter Order: name

      Parameters:

        name

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

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

          Type: string

          Required: Yes

          Location: path

      HTTP Method: POST

      Flat Path: v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel

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

  • workloadmanager.projects.locations.operations.get

      Path: v1/{+name}

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

      HTTP Method: GET

      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.

      Flat Path: v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}

      Parameter Order: name

      Parameters:

        name

          Required: Yes

          Location: path

          Description: The name of the operation resource.

          Type: string

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

  • workloadmanager.projects.locations.operations.list

      HTTP Method: GET

      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.

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

      Parameters:

        pageSize

          Description: The standard list page size.

          Format: int32

          Type: integer

          Location: query

        filter

          Location: query

          Type: string

          Description: The standard list filter.

        name

          Required: Yes

          Location: path

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

          Type: string

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

        pageToken

          Type: string

          Description: The standard list page token.

          Location: query

      Flat Path: v1/projects/{projectsId}/locations/{locationsId}/operations

      Path: v1/{+name}/operations

      Parameter Order: name

  • workloadmanager.projects.locations.evaluations.get

      Parameters:

        name

          Description: Required. Name of the resource

          Required: Yes

          Location: path

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

          Type: string

      Parameter Order: name

      HTTP Method: GET

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

      Flat Path: v1/projects/{projectsId}/locations/{locationsId}/evaluations/{evaluationsId}

      Path: v1/{+name}

      Description: Gets details of a single Evaluation.

  • workloadmanager.projects.locations.evaluations.create

      Path: v1/{+parent}/evaluations

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

      Parameter Order: parent

      HTTP Method: POST

      Parameters:

        evaluationId

          Description: Required. Id of the requesting object If auto-generating Id server-side, remove this field and evaluation_id from the method_signature of Create RPC

          Type: string

          Location: query

        parent

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

          Required: Yes

          Type: string

          Location: path

          Description: Required. The resource name of the evaluation location using the form: `projects/{project_id}/locations/{location_id}` where `location_id` refers to a GCP region.

        requestId

          Type: string

          Description: Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

          Location: query

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

      Flat Path: v1/projects/{projectsId}/locations/{locationsId}/evaluations

  • workloadmanager.projects.locations.evaluations.list

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

      Description: Lists Evaluations in a given project and location.

      Path: v1/{+parent}/evaluations

      Flat Path: v1/projects/{projectsId}/locations/{locationsId}/evaluations

      HTTP Method: GET

      Parameters:

        orderBy

          Description: Hint for how to order the results

          Location: query

          Type: string

        parent

          Location: path

          Required: Yes

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

          Description: Required. Parent value for ListEvaluationsRequest

          Type: string

        filter

          Description: Filtering results

          Location: query

          Type: string

        pageToken

          Type: string

          Location: query

          Description: A token identifying a page of results the server should return.

        pageSize

          Format: int32

          Description: Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.

          Location: query

          Type: integer

      Parameter Order: parent