gcp package¶
Subpackages¶
- gcp.bigquery package
- gcp.compute package
- Submodules
- gcp.compute.helpers module
- gcp.compute.resources module
- gcp.compute.test_firewall_opens_all_ports_to_all module
- gcp.compute.test_firewall_opens_all_ports_to_any module
- gcp.compute.test_firewall_opens_any_ports_to_all module
- gcp.compute.test_gke_version_up_to_date module
- gcp.compute.test_only_allowed_gke_versions module
- Module contents
- gcp.iam package
- gcp.sql package
Submodules¶
gcp.client module¶
-
gcp.client.
cache_key
(project_id, version, product, subproduct, call='list', id_value='na')[source]¶ Returns the fullname (directory and filename) for a cached GCP API call.
>>> cache_key("123", "v1", "compute", "firewalls") 'pytest_gcp/123/v1/compute/firewalls/list:na.json' >>> cache_key("123", "v1", "compute", "firewalls", "get", "321") 'pytest_gcp/123/v1/compute/firewalls/get:321.json'