Skip to content
Permalink
Browse files
feat: Make CertificateTemplate bools optional to indicate unset values (
#54)

PiperOrigin-RevId: 373649163

Source-Link: googleapis/googleapis@7e1b14e

Source-Link: https://github.com/googleapis/googleapis-gen/commit/0a3c7d272d697796db75857bac73905c68e498c3

chore: upgrade gapic-generator-python to 0.46.3
fix: add async client to %name_%version/init.py
chore: add autogenerated snippets
chore: remove auth, policy, and options from the reserved names list
feat: support self-signed JWT flow for service accounts
chore: enable GAPIC metadata generation
chore: sort subpackages in %namespace/%name/init.py
feat: Import v1 by default instead of v1beta1
  • Loading branch information
gcf-owl-bot[bot] committed May 14, 2021
1 parent c37c268 commit c4c862426fb5b7b931dd0de4d26d1ac27ce05f1a
Show file tree
Hide file tree
Showing 40 changed files with 2,876 additions and 2,960 deletions.
@@ -5,7 +5,6 @@ CertificateAuthorityService
:members:
:inherited-members:


.. automodule:: google.cloud.security.privateca_v1.services.certificate_authority_service.pagers
:members:
:inherited-members:
@@ -5,7 +5,6 @@ CertificateAuthorityService
:members:
:inherited-members:


.. automodule:: google.cloud.security.privateca_v1beta1.services.certificate_authority_service.pagers
:members:
:inherited-members:
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-

# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -15,152 +14,175 @@
# limitations under the License.
#

from google.cloud.security.privateca_v1beta1.services.certificate_authority_service.async_client import (
CertificateAuthorityServiceAsyncClient,
)
from google.cloud.security.privateca_v1beta1.services.certificate_authority_service.client import (
from google.cloud.security.privateca_v1.services.certificate_authority_service.client import (
CertificateAuthorityServiceClient,
)
from google.cloud.security.privateca_v1beta1.types.resources import Certificate
from google.cloud.security.privateca_v1beta1.types.resources import CertificateAuthority
from google.cloud.security.privateca_v1beta1.types.resources import CertificateConfig
from google.cloud.security.privateca_v1beta1.types.resources import (
CertificateDescription,
)
from google.cloud.security.privateca_v1beta1.types.resources import (
CertificateRevocationList,
)
from google.cloud.security.privateca_v1beta1.types.resources import KeyUsage
from google.cloud.security.privateca_v1beta1.types.resources import ObjectId
from google.cloud.security.privateca_v1beta1.types.resources import PublicKey
from google.cloud.security.privateca_v1beta1.types.resources import ReusableConfig
from google.cloud.security.privateca_v1beta1.types.resources import ReusableConfigValues
from google.cloud.security.privateca_v1beta1.types.resources import (
ReusableConfigWrapper,
)
from google.cloud.security.privateca_v1beta1.types.resources import RevocationReason
from google.cloud.security.privateca_v1beta1.types.resources import Subject
from google.cloud.security.privateca_v1beta1.types.resources import SubjectAltNames
from google.cloud.security.privateca_v1beta1.types.resources import SubordinateConfig
from google.cloud.security.privateca_v1beta1.types.resources import X509Extension
from google.cloud.security.privateca_v1beta1.types.service import (
from google.cloud.security.privateca_v1.services.certificate_authority_service.async_client import (
CertificateAuthorityServiceAsyncClient,
)

from google.cloud.security.privateca_v1.types.resources import CaPool
from google.cloud.security.privateca_v1.types.resources import Certificate
from google.cloud.security.privateca_v1.types.resources import CertificateAuthority
from google.cloud.security.privateca_v1.types.resources import CertificateConfig
from google.cloud.security.privateca_v1.types.resources import CertificateDescription
from google.cloud.security.privateca_v1.types.resources import (
CertificateExtensionConstraints,
)
from google.cloud.security.privateca_v1.types.resources import (
CertificateIdentityConstraints,
)
from google.cloud.security.privateca_v1.types.resources import CertificateRevocationList
from google.cloud.security.privateca_v1.types.resources import CertificateTemplate
from google.cloud.security.privateca_v1.types.resources import KeyUsage
from google.cloud.security.privateca_v1.types.resources import ObjectId
from google.cloud.security.privateca_v1.types.resources import PublicKey
from google.cloud.security.privateca_v1.types.resources import Subject
from google.cloud.security.privateca_v1.types.resources import SubjectAltNames
from google.cloud.security.privateca_v1.types.resources import SubordinateConfig
from google.cloud.security.privateca_v1.types.resources import X509Extension
from google.cloud.security.privateca_v1.types.resources import X509Parameters
from google.cloud.security.privateca_v1.types.resources import RevocationReason
from google.cloud.security.privateca_v1.types.resources import SubjectRequestMode
from google.cloud.security.privateca_v1.types.service import (
ActivateCertificateAuthorityRequest,
)
from google.cloud.security.privateca_v1beta1.types.service import (
from google.cloud.security.privateca_v1.types.service import CreateCaPoolRequest
from google.cloud.security.privateca_v1.types.service import (
CreateCertificateAuthorityRequest,
)
from google.cloud.security.privateca_v1beta1.types.service import (
CreateCertificateRequest,
from google.cloud.security.privateca_v1.types.service import CreateCertificateRequest
from google.cloud.security.privateca_v1.types.service import (
CreateCertificateTemplateRequest,
)
from google.cloud.security.privateca_v1.types.service import DeleteCaPoolRequest
from google.cloud.security.privateca_v1.types.service import (
DeleteCertificateAuthorityRequest,
)
from google.cloud.security.privateca_v1beta1.types.service import (
from google.cloud.security.privateca_v1.types.service import (
DeleteCertificateTemplateRequest,
)
from google.cloud.security.privateca_v1.types.service import (
DisableCertificateAuthorityRequest,
)
from google.cloud.security.privateca_v1beta1.types.service import (
from google.cloud.security.privateca_v1.types.service import (
EnableCertificateAuthorityRequest,
)
from google.cloud.security.privateca_v1beta1.types.service import (
from google.cloud.security.privateca_v1.types.service import FetchCaCertsRequest
from google.cloud.security.privateca_v1.types.service import FetchCaCertsResponse
from google.cloud.security.privateca_v1.types.service import (
FetchCertificateAuthorityCsrRequest,
)
from google.cloud.security.privateca_v1beta1.types.service import (
from google.cloud.security.privateca_v1.types.service import (
FetchCertificateAuthorityCsrResponse,
)
from google.cloud.security.privateca_v1beta1.types.service import (
from google.cloud.security.privateca_v1.types.service import GetCaPoolRequest
from google.cloud.security.privateca_v1.types.service import (
GetCertificateAuthorityRequest,
)
from google.cloud.security.privateca_v1beta1.types.service import GetCertificateRequest
from google.cloud.security.privateca_v1beta1.types.service import (
from google.cloud.security.privateca_v1.types.service import GetCertificateRequest
from google.cloud.security.privateca_v1.types.service import (
GetCertificateRevocationListRequest,
)
from google.cloud.security.privateca_v1beta1.types.service import (
GetReusableConfigRequest,
from google.cloud.security.privateca_v1.types.service import (
GetCertificateTemplateRequest,
)
from google.cloud.security.privateca_v1beta1.types.service import (
from google.cloud.security.privateca_v1.types.service import ListCaPoolsRequest
from google.cloud.security.privateca_v1.types.service import ListCaPoolsResponse
from google.cloud.security.privateca_v1.types.service import (
ListCertificateAuthoritiesRequest,
)
from google.cloud.security.privateca_v1beta1.types.service import (
from google.cloud.security.privateca_v1.types.service import (
ListCertificateAuthoritiesResponse,
)
from google.cloud.security.privateca_v1beta1.types.service import (
from google.cloud.security.privateca_v1.types.service import (
ListCertificateRevocationListsRequest,
)
from google.cloud.security.privateca_v1beta1.types.service import (
from google.cloud.security.privateca_v1.types.service import (
ListCertificateRevocationListsResponse,
)
from google.cloud.security.privateca_v1beta1.types.service import (
ListCertificatesRequest,
)
from google.cloud.security.privateca_v1beta1.types.service import (
ListCertificatesResponse,
from google.cloud.security.privateca_v1.types.service import ListCertificatesRequest
from google.cloud.security.privateca_v1.types.service import ListCertificatesResponse
from google.cloud.security.privateca_v1.types.service import (
ListCertificateTemplatesRequest,
)
from google.cloud.security.privateca_v1beta1.types.service import (
ListReusableConfigsRequest,
from google.cloud.security.privateca_v1.types.service import (
ListCertificateTemplatesResponse,
)
from google.cloud.security.privateca_v1beta1.types.service import (
ListReusableConfigsResponse,
from google.cloud.security.privateca_v1.types.service import OperationMetadata
from google.cloud.security.privateca_v1.types.service import RevokeCertificateRequest
from google.cloud.security.privateca_v1.types.service import (
UndeleteCertificateAuthorityRequest,
)
from google.cloud.security.privateca_v1beta1.types.service import OperationMetadata
from google.cloud.security.privateca_v1beta1.types.service import (
RestoreCertificateAuthorityRequest,
)
from google.cloud.security.privateca_v1beta1.types.service import (
RevokeCertificateRequest,
)
from google.cloud.security.privateca_v1beta1.types.service import (
ScheduleDeleteCertificateAuthorityRequest,
)
from google.cloud.security.privateca_v1beta1.types.service import (
from google.cloud.security.privateca_v1.types.service import UpdateCaPoolRequest
from google.cloud.security.privateca_v1.types.service import (
UpdateCertificateAuthorityRequest,
)
from google.cloud.security.privateca_v1beta1.types.service import (
UpdateCertificateRequest,
)
from google.cloud.security.privateca_v1beta1.types.service import (
from google.cloud.security.privateca_v1.types.service import UpdateCertificateRequest
from google.cloud.security.privateca_v1.types.service import (
UpdateCertificateRevocationListRequest,
)
from google.cloud.security.privateca_v1.types.service import (
UpdateCertificateTemplateRequest,
)

__all__ = (
"ActivateCertificateAuthorityRequest",
"CertificateAuthorityServiceClient",
"CertificateAuthorityServiceAsyncClient",
"CaPool",
"Certificate",
"CertificateAuthority",
"CertificateAuthorityServiceAsyncClient",
"CertificateAuthorityServiceClient",
"CertificateConfig",
"CertificateDescription",
"CertificateExtensionConstraints",
"CertificateIdentityConstraints",
"CertificateRevocationList",
"CertificateTemplate",
"KeyUsage",
"ObjectId",
"PublicKey",
"Subject",
"SubjectAltNames",
"SubordinateConfig",
"X509Extension",
"X509Parameters",
"RevocationReason",
"SubjectRequestMode",
"ActivateCertificateAuthorityRequest",
"CreateCaPoolRequest",
"CreateCertificateAuthorityRequest",
"CreateCertificateRequest",
"CreateCertificateTemplateRequest",
"DeleteCaPoolRequest",
"DeleteCertificateAuthorityRequest",
"DeleteCertificateTemplateRequest",
"DisableCertificateAuthorityRequest",
"EnableCertificateAuthorityRequest",
"FetchCaCertsRequest",
"FetchCaCertsResponse",
"FetchCertificateAuthorityCsrRequest",
"FetchCertificateAuthorityCsrResponse",
"GetCaPoolRequest",
"GetCertificateAuthorityRequest",
"GetCertificateRequest",
"GetCertificateRevocationListRequest",
"GetReusableConfigRequest",
"KeyUsage",
"GetCertificateTemplateRequest",
"ListCaPoolsRequest",
"ListCaPoolsResponse",
"ListCertificateAuthoritiesRequest",
"ListCertificateAuthoritiesResponse",
"ListCertificateRevocationListsRequest",
"ListCertificateRevocationListsResponse",
"ListCertificatesRequest",
"ListCertificatesResponse",
"ListReusableConfigsRequest",
"ListReusableConfigsResponse",
"ObjectId",
"ListCertificateTemplatesRequest",
"ListCertificateTemplatesResponse",
"OperationMetadata",
"PublicKey",
"RestoreCertificateAuthorityRequest",
"ReusableConfig",
"ReusableConfigValues",
"ReusableConfigWrapper",
"RevocationReason",
"RevokeCertificateRequest",
"ScheduleDeleteCertificateAuthorityRequest",
"Subject",
"SubjectAltNames",
"SubordinateConfig",
"UndeleteCertificateAuthorityRequest",
"UpdateCaPoolRequest",
"UpdateCertificateAuthorityRequest",
"UpdateCertificateRequest",
"UpdateCertificateRevocationListRequest",
"X509Extension",
"UpdateCertificateTemplateRequest",
)
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-

# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -16,6 +15,10 @@
#

from .services.certificate_authority_service import CertificateAuthorityServiceClient
from .services.certificate_authority_service import (
CertificateAuthorityServiceAsyncClient,
)

from .types.resources import CaPool
from .types.resources import Certificate
from .types.resources import CertificateAuthority
@@ -28,13 +31,13 @@
from .types.resources import KeyUsage
from .types.resources import ObjectId
from .types.resources import PublicKey
from .types.resources import RevocationReason
from .types.resources import Subject
from .types.resources import SubjectAltNames
from .types.resources import SubjectRequestMode
from .types.resources import SubordinateConfig
from .types.resources import X509Extension
from .types.resources import X509Parameters
from .types.resources import RevocationReason
from .types.resources import SubjectRequestMode
from .types.service import ActivateCertificateAuthorityRequest
from .types.service import CreateCaPoolRequest
from .types.service import CreateCertificateAuthorityRequest
@@ -60,10 +63,10 @@
from .types.service import ListCertificateAuthoritiesResponse
from .types.service import ListCertificateRevocationListsRequest
from .types.service import ListCertificateRevocationListsResponse
from .types.service import ListCertificateTemplatesRequest
from .types.service import ListCertificateTemplatesResponse
from .types.service import ListCertificatesRequest
from .types.service import ListCertificatesResponse
from .types.service import ListCertificateTemplatesRequest
from .types.service import ListCertificateTemplatesResponse
from .types.service import OperationMetadata
from .types.service import RevokeCertificateRequest
from .types.service import UndeleteCertificateAuthorityRequest
@@ -73,12 +76,13 @@
from .types.service import UpdateCertificateRevocationListRequest
from .types.service import UpdateCertificateTemplateRequest


__all__ = (
"CertificateAuthorityServiceAsyncClient",
"ActivateCertificateAuthorityRequest",
"CaPool",
"Certificate",
"CertificateAuthority",
"CertificateAuthorityServiceClient",
"CertificateConfig",
"CertificateDescription",
"CertificateExtensionConstraints",
@@ -131,5 +135,4 @@
"UpdateCertificateTemplateRequest",
"X509Extension",
"X509Parameters",
"CertificateAuthorityServiceClient",
)

0 comments on commit c4c8624

Please sign in to comment.