probeCloud Run

list_service_revisions

List all the Cloud Run service revisions

Activity as code

Below are the details and signature of the activity Python module.

Typeprobe
Modulechaosgcp.cloudrun.probes
Namelist_service_revisions
Returnlist

Usage

JSON

{
  "name": "list-service-revisions",
  "type": "probe",
  "provider": {
    "type": "python",
    "module": "chaosgcp.cloudrun.probes",
    "func": "list_service_revisions",
    "arguments": {
      "parent": ""
    }
  }
}

YAML

name: list-service-revisions
provider:
  arguments:
    parent: ''
  func: list_service_revisions
  module: chaosgcp.cloudrun.probes
  type: python
type: probe

Arguments

NameTypeDefaultRequiredTitleDescription
parentstringYesService PathFull service path

See https://cloud.google.com/python/docs/reference/run/latest/google.cloud.run_v2.services.revisions.RevisionsClient#google_cloud_run_v2_services_revisions_RevisionsClient_list_revisions

Signature

def list_service_revisions(
        parent: str,
        configuration: Dict[str, Dict[str, str]] = None,
        secrets: Dict[str, Dict[str, str]] = None) -> List[Dict[str, Any]]:
    pass