Skip to content

Commit c28164a

Browse files
authored
chore: updates to privateca (googleapis#14078)
This splits the changes that were joined together in googleapis#14063 so that releases can have proper release notes. BEGIN_COMMIT_OVERRIDE feat: add RDN sequence feat: add User Defined Access URLs feat: add backdate duration feat: adds tbs_certificate_digest to CertificateDescription END_COMMIT_OVERRIDE
1 parent 9117f23 commit c28164a

13 files changed

Lines changed: 361 additions & 97 deletions

File tree

packages/google-cloud-private-ca/google/cloud/security/privateca/__init__.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@
2525
CertificateAuthorityServiceClient,
2626
)
2727
from google.cloud.security.privateca_v1.types.resources import (
28+
AttributeType,
29+
AttributeTypeAndValue,
2830
CaPool,
2931
Certificate,
3032
CertificateAuthority,
@@ -37,6 +39,7 @@
3739
KeyUsage,
3840
ObjectId,
3941
PublicKey,
42+
RelativeDistinguishedName,
4043
RevocationReason,
4144
Subject,
4245
SubjectAltNames,
@@ -88,6 +91,7 @@
8891
__all__ = (
8992
"CertificateAuthorityServiceClient",
9093
"CertificateAuthorityServiceAsyncClient",
94+
"AttributeTypeAndValue",
9195
"CaPool",
9296
"Certificate",
9397
"CertificateAuthority",
@@ -100,11 +104,13 @@
100104
"KeyUsage",
101105
"ObjectId",
102106
"PublicKey",
107+
"RelativeDistinguishedName",
103108
"Subject",
104109
"SubjectAltNames",
105110
"SubordinateConfig",
106111
"X509Extension",
107112
"X509Parameters",
113+
"AttributeType",
108114
"RevocationReason",
109115
"SubjectRequestMode",
110116
"ActivateCertificateAuthorityRequest",

packages/google-cloud-private-ca/google/cloud/security/privateca/gapic_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
__version__ = "1.14.3" # {x-release-please-version}
16+
__version__ = "0.0.0" # {x-release-please-version}

packages/google-cloud-private-ca/google/cloud/security/privateca_v1/__init__.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@
2323
CertificateAuthorityServiceClient,
2424
)
2525
from .types.resources import (
26+
AttributeType,
27+
AttributeTypeAndValue,
2628
CaPool,
2729
Certificate,
2830
CertificateAuthority,
@@ -35,6 +37,7 @@
3537
KeyUsage,
3638
ObjectId,
3739
PublicKey,
40+
RelativeDistinguishedName,
3841
RevocationReason,
3942
Subject,
4043
SubjectAltNames,
@@ -86,6 +89,8 @@
8689
__all__ = (
8790
"CertificateAuthorityServiceAsyncClient",
8891
"ActivateCertificateAuthorityRequest",
92+
"AttributeType",
93+
"AttributeTypeAndValue",
8994
"CaPool",
9095
"Certificate",
9196
"CertificateAuthority",
@@ -128,6 +133,7 @@
128133
"ObjectId",
129134
"OperationMetadata",
130135
"PublicKey",
136+
"RelativeDistinguishedName",
131137
"RevocationReason",
132138
"RevokeCertificateRequest",
133139
"Subject",

packages/google-cloud-private-ca/google/cloud/security/privateca_v1/gapic_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
__version__ = "1.14.3" # {x-release-please-version}
16+
__version__ = "0.0.0" # {x-release-please-version}

packages/google-cloud-private-ca/google/cloud/security/privateca_v1/services/certificate_authority_service/async_client.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -412,8 +412,9 @@ async def sample_create_certificate():
412412
the regular expression ``[a-zA-Z0-9_-]{1,63}``. This
413413
field is required when using a
414414
[CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority]
415-
in the Enterprise [CertificateAuthority.Tier][], but is
416-
optional and its value is ignored otherwise.
415+
in the Enterprise
416+
[CertificateAuthority.tier][google.cloud.security.privateca.v1.CertificateAuthority.tier],
417+
but is optional and its value is ignored otherwise.
417418
418419
This corresponds to the ``certificate_id`` field
419420
on the ``request`` instance; if ``request`` is provided, this

packages/google-cloud-private-ca/google/cloud/security/privateca_v1/services/certificate_authority_service/client.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -910,8 +910,9 @@ def sample_create_certificate():
910910
the regular expression ``[a-zA-Z0-9_-]{1,63}``. This
911911
field is required when using a
912912
[CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority]
913-
in the Enterprise [CertificateAuthority.Tier][], but is
914-
optional and its value is ignored otherwise.
913+
in the Enterprise
914+
[CertificateAuthority.tier][google.cloud.security.privateca.v1.CertificateAuthority.tier],
915+
but is optional and its value is ignored otherwise.
915916
916917
This corresponds to the ``certificate_id`` field
917918
on the ``request`` instance; if ``request`` is provided, this

packages/google-cloud-private-ca/google/cloud/security/privateca_v1/types/__init__.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
# limitations under the License.
1515
#
1616
from .resources import (
17+
AttributeType,
18+
AttributeTypeAndValue,
1719
CaPool,
1820
Certificate,
1921
CertificateAuthority,
@@ -26,6 +28,7 @@
2628
KeyUsage,
2729
ObjectId,
2830
PublicKey,
31+
RelativeDistinguishedName,
2932
RevocationReason,
3033
Subject,
3134
SubjectAltNames,
@@ -75,6 +78,7 @@
7578
)
7679

7780
__all__ = (
81+
"AttributeTypeAndValue",
7882
"CaPool",
7983
"Certificate",
8084
"CertificateAuthority",
@@ -87,11 +91,13 @@
8791
"KeyUsage",
8892
"ObjectId",
8993
"PublicKey",
94+
"RelativeDistinguishedName",
9095
"Subject",
9196
"SubjectAltNames",
9297
"SubordinateConfig",
9398
"X509Extension",
9499
"X509Parameters",
100+
"AttributeType",
95101
"RevocationReason",
96102
"SubjectRequestMode",
97103
"ActivateCertificateAuthorityRequest",

0 commit comments

Comments
 (0)