Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions packages/google-cloud-network-security/docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,14 @@ API Reference
network_security_v1beta1/services_
network_security_v1beta1/types_

API Reference
-------------
.. toctree::
:maxdepth: 2

networksecurity_v1alpha1/services_
networksecurity_v1alpha1/types_


Changelog
---------
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
NetworkSecurity
---------------------------------

.. automodule:: google.cloud.networksecurity_v1alpha1.services.network_security
:members:
:inherited-members:

.. automodule:: google.cloud.networksecurity_v1alpha1.services.network_security.pagers
:members:
:inherited-members:
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Services for Google Cloud Networksecurity v1alpha1 API
======================================================
.. toctree::
:maxdepth: 2

network_security
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Types for Google Cloud Networksecurity v1alpha1 API
===================================================

.. automodule:: google.cloud.networksecurity_v1alpha1.types
:members:
:show-inheritance:
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
__version__ = "0.9.18" # {x-release-please-version}
__version__ = "0.0.0" # {x-release-please-version}
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
__version__ = "0.9.18" # {x-release-please-version}
__version__ = "0.0.0" # {x-release-please-version}
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
__version__ = "0.9.18" # {x-release-please-version}
__version__ = "0.0.0" # {x-release-please-version}
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
# -*- coding: utf-8 -*-
# Copyright 2025 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
from google.cloud.networksecurity import gapic_version as package_version

__version__ = package_version.__version__


from google.cloud.networksecurity_v1alpha1.services.network_security.async_client import (
NetworkSecurityAsyncClient,
)
from google.cloud.networksecurity_v1alpha1.services.network_security.client import (
NetworkSecurityClient,
)
from google.cloud.networksecurity_v1alpha1.types.client_tls_policy import (
ClientTlsPolicy,
CreateClientTlsPolicyRequest,
DeleteClientTlsPolicyRequest,
GetClientTlsPolicyRequest,
ListClientTlsPoliciesRequest,
ListClientTlsPoliciesResponse,
UpdateClientTlsPolicyRequest,
)
from google.cloud.networksecurity_v1alpha1.types.common import OperationMetadata
from google.cloud.networksecurity_v1alpha1.types.tls import (
CertificateProvider,
CertificateProviderInstance,
GrpcEndpoint,
ValidationCA,
)

__all__ = (
"NetworkSecurityClient",
"NetworkSecurityAsyncClient",
"ClientTlsPolicy",
"CreateClientTlsPolicyRequest",
"DeleteClientTlsPolicyRequest",
"GetClientTlsPolicyRequest",
"ListClientTlsPoliciesRequest",
"ListClientTlsPoliciesResponse",
"UpdateClientTlsPolicyRequest",
"OperationMetadata",
"CertificateProvider",
"CertificateProviderInstance",
"GrpcEndpoint",
"ValidationCA",
)
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# -*- coding: utf-8 -*-
# Copyright 2025 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
__version__ = "0.0.0" # {x-release-please-version}
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Marker file for PEP 561.
# The google-cloud-networksecurity package uses inline types.
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
# -*- coding: utf-8 -*-
# Copyright 2025 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
from google.cloud.networksecurity_v1alpha1 import gapic_version as package_version

__version__ = package_version.__version__


from .services.network_security import NetworkSecurityAsyncClient, NetworkSecurityClient
from .types.client_tls_policy import (
ClientTlsPolicy,
CreateClientTlsPolicyRequest,
DeleteClientTlsPolicyRequest,
GetClientTlsPolicyRequest,
ListClientTlsPoliciesRequest,
ListClientTlsPoliciesResponse,
UpdateClientTlsPolicyRequest,
)
from .types.common import OperationMetadata
from .types.tls import (
CertificateProvider,
CertificateProviderInstance,
GrpcEndpoint,
ValidationCA,
)

__all__ = (
"NetworkSecurityAsyncClient",
"CertificateProvider",
"CertificateProviderInstance",
"ClientTlsPolicy",
"CreateClientTlsPolicyRequest",
"DeleteClientTlsPolicyRequest",
"GetClientTlsPolicyRequest",
"GrpcEndpoint",
"ListClientTlsPoliciesRequest",
"ListClientTlsPoliciesResponse",
"NetworkSecurityClient",
"OperationMetadata",
"UpdateClientTlsPolicyRequest",
"ValidationCA",
)
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@
{
"comment": "This file maps proto services/RPCs to the corresponding library clients/methods",
"language": "python",
"libraryPackage": "google.cloud.networksecurity_v1alpha1",
"protoPackage": "google.cloud.networksecurity.v1alpha1",
"schema": "1.0",
"services": {
"NetworkSecurity": {
"clients": {
"grpc": {
"libraryClient": "NetworkSecurityClient",
"rpcs": {
"CreateClientTlsPolicy": {
"methods": [
"create_client_tls_policy"
]
},
"DeleteClientTlsPolicy": {
"methods": [
"delete_client_tls_policy"
]
},
"GetClientTlsPolicy": {
"methods": [
"get_client_tls_policy"
]
},
"ListClientTlsPolicies": {
"methods": [
"list_client_tls_policies"
]
},
"UpdateClientTlsPolicy": {
"methods": [
"update_client_tls_policy"
]
}
}
},
"grpc-async": {
"libraryClient": "NetworkSecurityAsyncClient",
"rpcs": {
"CreateClientTlsPolicy": {
"methods": [
"create_client_tls_policy"
]
},
"DeleteClientTlsPolicy": {
"methods": [
"delete_client_tls_policy"
]
},
"GetClientTlsPolicy": {
"methods": [
"get_client_tls_policy"
]
},
"ListClientTlsPolicies": {
"methods": [
"list_client_tls_policies"
]
},
"UpdateClientTlsPolicy": {
"methods": [
"update_client_tls_policy"
]
}
}
},
"rest": {
"libraryClient": "NetworkSecurityClient",
"rpcs": {
"CreateClientTlsPolicy": {
"methods": [
"create_client_tls_policy"
]
},
"DeleteClientTlsPolicy": {
"methods": [
"delete_client_tls_policy"
]
},
"GetClientTlsPolicy": {
"methods": [
"get_client_tls_policy"
]
},
"ListClientTlsPolicies": {
"methods": [
"list_client_tls_policies"
]
},
"UpdateClientTlsPolicy": {
"methods": [
"update_client_tls_policy"
]
}
}
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# -*- coding: utf-8 -*-
# Copyright 2025 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
__version__ = "0.0.0" # {x-release-please-version}
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Marker file for PEP 561.
# The google-cloud-networksecurity package uses inline types.
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# -*- coding: utf-8 -*-
# Copyright 2025 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# -*- coding: utf-8 -*-
# Copyright 2025 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
from .async_client import NetworkSecurityAsyncClient
from .client import NetworkSecurityClient

__all__ = (
"NetworkSecurityClient",
"NetworkSecurityAsyncClient",
)
Loading
Loading