|
|
@ -556,12 +556,14 @@ class TrafficDirectorAppNetManager(TrafficDirectorManager): |
|
|
|
*, |
|
|
|
*, |
|
|
|
resource_prefix: str, |
|
|
|
resource_prefix: str, |
|
|
|
resource_suffix: Optional[str] = None, |
|
|
|
resource_suffix: Optional[str] = None, |
|
|
|
network: str = 'default'): |
|
|
|
network: str = 'default', |
|
|
|
|
|
|
|
compute_api_version: str = 'v1'): |
|
|
|
super().__init__(gcp_api_manager, |
|
|
|
super().__init__(gcp_api_manager, |
|
|
|
project, |
|
|
|
project, |
|
|
|
resource_prefix=resource_prefix, |
|
|
|
resource_prefix=resource_prefix, |
|
|
|
resource_suffix=resource_suffix, |
|
|
|
resource_suffix=resource_suffix, |
|
|
|
network=network) |
|
|
|
network=network, |
|
|
|
|
|
|
|
compute_api_version=compute_api_version) |
|
|
|
|
|
|
|
|
|
|
|
# API |
|
|
|
# API |
|
|
|
self.netsvc = _NetworkServicesV1Alpha1(gcp_api_manager, project) |
|
|
|
self.netsvc = _NetworkServicesV1Alpha1(gcp_api_manager, project) |
|
|
@ -656,12 +658,14 @@ class TrafficDirectorSecureManager(TrafficDirectorManager): |
|
|
|
resource_prefix: str, |
|
|
|
resource_prefix: str, |
|
|
|
resource_suffix: Optional[str] = None, |
|
|
|
resource_suffix: Optional[str] = None, |
|
|
|
network: str = 'default', |
|
|
|
network: str = 'default', |
|
|
|
|
|
|
|
compute_api_version: str = 'v1', |
|
|
|
): |
|
|
|
): |
|
|
|
super().__init__(gcp_api_manager, |
|
|
|
super().__init__(gcp_api_manager, |
|
|
|
project, |
|
|
|
project, |
|
|
|
resource_prefix=resource_prefix, |
|
|
|
resource_prefix=resource_prefix, |
|
|
|
resource_suffix=resource_suffix, |
|
|
|
resource_suffix=resource_suffix, |
|
|
|
network=network) |
|
|
|
network=network, |
|
|
|
|
|
|
|
compute_api_version=compute_api_version) |
|
|
|
|
|
|
|
|
|
|
|
# API |
|
|
|
# API |
|
|
|
self.netsec = _NetworkSecurityV1Beta1(gcp_api_manager, project) |
|
|
|
self.netsec = _NetworkSecurityV1Beta1(gcp_api_manager, project) |
|
|
|