Skip to content

Commit

Permalink
feat: [google-cloud-public-ca] added protos for publicca v1 (#12680)
Browse files Browse the repository at this point in the history
BEGIN_COMMIT_OVERRIDE
feat: added protos for publicca v1
END_COMMIT_OVERRIDE

- [ ] Regenerate this pull request now.

PiperOrigin-RevId: 631969098

Source-Link:
googleapis/googleapis@25a1a57

Source-Link:
googleapis/googleapis-gen@99d23a6
Copy-Tag:
eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLXB1YmxpYy1jYS8uT3dsQm90LnlhbWwiLCJoIjoiOTlkMjNhNjA2ZWFmZGEwNzQ2ZWQ2NTg3ZjljNWNmZjE2YTBiZDBiMSJ9

---------

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] authored May 10, 2024
1 parent b74c6c2 commit f38aae4
Show file tree
Hide file tree
Showing 34 changed files with 6,226 additions and 53 deletions.
11 changes: 11 additions & 0 deletions packages/google-cloud-public-ca/docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,17 @@

.. include:: multiprocessing.rst

This package includes clients for multiple versions of Public Certificate Authority.
By default, you will get version ``publicca_v1``.


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

publicca_v1/services_
publicca_v1/types_

API Reference
-------------
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
PublicCertificateAuthorityService
---------------------------------------------------

.. automodule:: google.cloud.security.publicca_v1.services.public_certificate_authority_service
:members:
:inherited-members:
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Services for Google Cloud Security Publicca v1 API
==================================================
.. toctree::
:maxdepth: 2

public_certificate_authority_service
6 changes: 6 additions & 0 deletions packages/google-cloud-public-ca/docs/publicca_v1/types_.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Types for Google Cloud Security Publicca v1 API
===============================================

.. automodule:: google.cloud.security.publicca_v1.types
:members:
:show-inheritance:
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@
__version__ = package_version.__version__


from google.cloud.security.publicca_v1beta1.services.public_certificate_authority_service.async_client import (
from google.cloud.security.publicca_v1.services.public_certificate_authority_service.async_client import (
PublicCertificateAuthorityServiceAsyncClient,
)
from google.cloud.security.publicca_v1beta1.services.public_certificate_authority_service.client import (
from google.cloud.security.publicca_v1.services.public_certificate_authority_service.client import (
PublicCertificateAuthorityServiceClient,
)
from google.cloud.security.publicca_v1beta1.types.resources import ExternalAccountKey
from google.cloud.security.publicca_v1beta1.types.service import (
from google.cloud.security.publicca_v1.types.resources import ExternalAccountKey
from google.cloud.security.publicca_v1.types.service import (
CreateExternalAccountKeyRequest,
)

Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# Marker file for PEP 561.
# The google-cloud-public-ca package uses inline types.
# The google-cloud-security-publicca package uses inline types.
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# -*- coding: utf-8 -*-
# Copyright 2024 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.security.publicca_v1 import gapic_version as package_version

__version__ = package_version.__version__


from .services.public_certificate_authority_service import (
PublicCertificateAuthorityServiceAsyncClient,
PublicCertificateAuthorityServiceClient,
)
from .types.resources import ExternalAccountKey
from .types.service import CreateExternalAccountKeyRequest

__all__ = (
"PublicCertificateAuthorityServiceAsyncClient",
"CreateExternalAccountKeyRequest",
"ExternalAccountKey",
"PublicCertificateAuthorityServiceClient",
)
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"comment": "This file maps proto services/RPCs to the corresponding library clients/methods",
"language": "python",
"libraryPackage": "google.cloud.security.publicca_v1",
"protoPackage": "google.cloud.security.publicca.v1",
"schema": "1.0",
"services": {
"PublicCertificateAuthorityService": {
"clients": {
"grpc": {
"libraryClient": "PublicCertificateAuthorityServiceClient",
"rpcs": {
"CreateExternalAccountKey": {
"methods": [
"create_external_account_key"
]
}
}
},
"grpc-async": {
"libraryClient": "PublicCertificateAuthorityServiceAsyncClient",
"rpcs": {
"CreateExternalAccountKey": {
"methods": [
"create_external_account_key"
]
}
}
},
"rest": {
"libraryClient": "PublicCertificateAuthorityServiceClient",
"rpcs": {
"CreateExternalAccountKey": {
"methods": [
"create_external_account_key"
]
}
}
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# -*- coding: utf-8 -*-
# Copyright 2024 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-security-publicca package uses inline types.
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# -*- coding: utf-8 -*-
# Copyright 2024 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 2024 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 PublicCertificateAuthorityServiceAsyncClient
from .client import PublicCertificateAuthorityServiceClient

__all__ = (
"PublicCertificateAuthorityServiceClient",
"PublicCertificateAuthorityServiceAsyncClient",
)
Loading

0 comments on commit f38aae4

Please sign in to comment.