Cloud Run Admin API (run:v2)

2022-01-08

3 new methods | 1 removed method

Additions

    Methods
  • run.projects.locations.services.revisions.get

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

      Path: v2/{+name}

      Description: Gets information about a Revision.

      Parameters:

        name

          Location: path

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

          Description: Required. The full name of the Revision. Format: projects/{project}/locations/{location}/services/{service}/revisions/{revision}

          Type: string

          Required: Yes

      HTTP Method: GET

      Parameter Order: name

      Flat Path: v2/projects/{projectsId}/locations/{locationsId}/services/{servicesId}/revisions/{revisionsId}

  • run.projects.locations.services.revisions.list

      Parameters:

        pageSize

          Description: Maximum number of revisions to return in this call.

          Type: integer

          Location: query

          Format: int32

        parent

          Required: Yes

          Type: string

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

          Location: path

          Description: Required. The Service from which the Revisions should be listed. To list all Revisions across Services, use "-" instead of Service name. Format: projects/{project}/locations/{location}/services/{service}

        showDeleted

          Location: query

          Description: If true, returns deleted (but unexpired) resources along with active ones.

          Type: boolean

        pageToken

          Description: A page token received from a previous call to ListRevisions. All other parameters must match.

          Type: string

          Location: query

      Description: List Revisions from a given Service, or from a given location.

      Path: v2/{+parent}/revisions

      HTTP Method: GET

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

      Flat Path: v2/projects/{projectsId}/locations/{locationsId}/services/{servicesId}/revisions

      Parameter Order: parent

  • run.projects.locations.services.revisions.delete

      Description: Delete a Revision.

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

      Parameters:

        etag

          Location: query

          Description: A system-generated fingerprint for this version of the resource. This may be used to detect modification conflict during updates.

          Type: string

        name

          Required: Yes

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

          Description: Required. The name of the Revision to delete. Format: projects/{project}/locations/{location}/services/{service}/revisions/{revision}

          Type: string

          Location: path

        validateOnly

          Location: query

          Description: Indicates that the request should be validated without actually deleting any resources.

          Type: boolean

      Parameter Order: name

      Flat Path: v2/projects/{projectsId}/locations/{locationsId}/services/{servicesId}/revisions/{revisionsId}

      HTTP Method: DELETE

      Path: v2/{+name}

Deletions

    Methods
  • run.projects.locations.services.undelete

      Parameter Order: name

      Path: v2/{+name}:undelete

      Description: Undeletes a Service.

      HTTP Method: POST

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

      Parameters:

        name

          Required: Yes

          Type: string

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

          Location: path

          Description: Required. The full name of the Service. Format: projects/{projectnumber}/locations/{location}/services/{service}

      Flat Path: v2/projects/{projectsId}/locations/{locationsId}/services/{servicesId}:undelete