Definition at line 64 of file api.py.
◆ __init__()
def framework.infrastructure.gcp.api.GcpApiManager.__init__ |
( |
|
self, |
|
|
* |
v1_discovery_uri = None , |
|
|
|
v2_discovery_uri = None , |
|
|
|
compute_v1_discovery_file = None , |
|
|
|
private_api_key_secret_name = None , |
|
|
|
gcp_ui_url = None |
|
) |
| |
◆ _build_from_discovery_v1()
def framework.infrastructure.gcp.api.GcpApiManager._build_from_discovery_v1 |
( |
|
self, |
|
|
|
api_name, |
|
|
|
version |
|
) |
| |
|
private |
◆ _build_from_discovery_v2()
def framework.infrastructure.gcp.api.GcpApiManager._build_from_discovery_v2 |
( |
|
self, |
|
|
|
api_name, |
|
|
|
version, |
|
|
*Optional[str] |
api_key = None , |
|
|
Optional[List] |
visibility_labels = None |
|
) |
| |
|
private |
◆ _build_from_file()
def framework.infrastructure.gcp.api.GcpApiManager._build_from_file |
( |
|
self, |
|
|
|
discovery_file |
|
) |
| |
|
private |
◆ close()
def framework.infrastructure.gcp.api.GcpApiManager.close |
( |
|
self | ) |
|
◆ compute()
def framework.infrastructure.gcp.api.GcpApiManager.compute |
( |
|
self, |
|
|
|
version |
|
) |
| |
◆ iam()
discovery.Resource framework.infrastructure.gcp.api.GcpApiManager.iam |
( |
|
self, |
|
|
str |
version |
|
) |
| |
Identity and Access Management (IAM) API.
https://cloud.google.com/iam/docs/reference/rest
https://googleapis.github.io/google-api-python-client/docs/dyn/iam_v1.html
Definition at line 161 of file api.py.
◆ networksecurity()
def framework.infrastructure.gcp.api.GcpApiManager.networksecurity |
( |
|
self, |
|
|
|
version |
|
) |
| |
◆ networkservices()
def framework.infrastructure.gcp.api.GcpApiManager.networkservices |
( |
|
self, |
|
|
|
version |
|
) |
| |
◆ private_api_key()
def framework.infrastructure.gcp.api.GcpApiManager.private_api_key |
( |
|
self | ) |
|
Private API key.
Return API key credential that identifies a GCP project allow-listed for
accessing private API discovery documents.
https://console.cloud.google.com/apis/credentials
This method lazy-loads the content of the key from the Secret Manager.
https://console.cloud.google.com/security/secret-manager
Definition at line 88 of file api.py.
◆ secrets()
def framework.infrastructure.gcp.api.GcpApiManager.secrets |
( |
str |
version | ) |
|
|
static |
◆ _exit_stack
framework.infrastructure.gcp.api.GcpApiManager._exit_stack |
|
private |
◆ compute_v1_discovery_file
framework.infrastructure.gcp.api.GcpApiManager.compute_v1_discovery_file |
◆ gcp_ui_url
framework.infrastructure.gcp.api.GcpApiManager.gcp_ui_url |
◆ private_api_key_secret_name
framework.infrastructure.gcp.api.GcpApiManager.private_api_key_secret_name |
◆ v1_discovery_uri
framework.infrastructure.gcp.api.GcpApiManager.v1_discovery_uri |
◆ v2_discovery_uri
framework.infrastructure.gcp.api.GcpApiManager.v2_discovery_uri |
The documentation for this class was generated from the following file: