From 44ed7033d86cf860af5df3345714e477a35fb761 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Tue, 26 Mar 2024 07:08:30 +0000 Subject: [PATCH] feat(certificatemanager): update the api #### certificatemanager:v1 The following keys were added: - schemas.AllowlistedCertificate (Total Keys: 3) - schemas.TrustConfig.properties.allowlistedCertificates (Total Keys: 2) --- ...er_v1.projects.locations.trustConfigs.html | 20 +++++++++++++++++++ .../documents/certificatemanager.v1.json | 20 ++++++++++++++++++- 2 files changed, 39 insertions(+), 1 deletion(-) diff --git a/docs/dyn/certificatemanager_v1.projects.locations.trustConfigs.html b/docs/dyn/certificatemanager_v1.projects.locations.trustConfigs.html index c1c4333fdc8..035ad3b80ba 100644 --- a/docs/dyn/certificatemanager_v1.projects.locations.trustConfigs.html +++ b/docs/dyn/certificatemanager_v1.projects.locations.trustConfigs.html @@ -111,6 +111,11 @@

Method Details

The object takes the form of: { # Defines a trust config. + "allowlistedCertificates": [ # Optional. A certificate matching an allowlisted certificate is always considered valid as long as the certificate is parseable, proof of private key possession is established, and constraints on the certificate’s SAN field are met. + { # Defines an allowlisted certificate. + "pemCertificate": "A String", # Required. PEM certificate that is allowlisted. The certificate can be up to 5k bytes, and must be a parseable X.509 certificate. + }, + ], "createTime": "A String", # Output only. The creation timestamp of a TrustConfig. "description": "A String", # One or more paragraphs of text description of a TrustConfig. "etag": "A String", # This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. @@ -216,6 +221,11 @@

Method Details

An object of the form: { # Defines a trust config. + "allowlistedCertificates": [ # Optional. A certificate matching an allowlisted certificate is always considered valid as long as the certificate is parseable, proof of private key possession is established, and constraints on the certificate’s SAN field are met. + { # Defines an allowlisted certificate. + "pemCertificate": "A String", # Required. PEM certificate that is allowlisted. The certificate can be up to 5k bytes, and must be a parseable X.509 certificate. + }, + ], "createTime": "A String", # Output only. The creation timestamp of a TrustConfig. "description": "A String", # One or more paragraphs of text description of a TrustConfig. "etag": "A String", # This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. @@ -263,6 +273,11 @@

Method Details

"nextPageToken": "A String", # If there might be more results than those appearing in this response, then `next_page_token` is included. To get the next set of results, call this method again using the value of `next_page_token` as `page_token`. "trustConfigs": [ # A list of TrustConfigs for the parent resource. { # Defines a trust config. + "allowlistedCertificates": [ # Optional. A certificate matching an allowlisted certificate is always considered valid as long as the certificate is parseable, proof of private key possession is established, and constraints on the certificate’s SAN field are met. + { # Defines an allowlisted certificate. + "pemCertificate": "A String", # Required. PEM certificate that is allowlisted. The certificate can be up to 5k bytes, and must be a parseable X.509 certificate. + }, + ], "createTime": "A String", # Output only. The creation timestamp of a TrustConfig. "description": "A String", # One or more paragraphs of text description of a TrustConfig. "etag": "A String", # This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. @@ -317,6 +332,11 @@

Method Details

The object takes the form of: { # Defines a trust config. + "allowlistedCertificates": [ # Optional. A certificate matching an allowlisted certificate is always considered valid as long as the certificate is parseable, proof of private key possession is established, and constraints on the certificate’s SAN field are met. + { # Defines an allowlisted certificate. + "pemCertificate": "A String", # Required. PEM certificate that is allowlisted. The certificate can be up to 5k bytes, and must be a parseable X.509 certificate. + }, + ], "createTime": "A String", # Output only. The creation timestamp of a TrustConfig. "description": "A String", # One or more paragraphs of text description of a TrustConfig. "etag": "A String", # This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. diff --git a/googleapiclient/discovery_cache/documents/certificatemanager.v1.json b/googleapiclient/discovery_cache/documents/certificatemanager.v1.json index 40e823553e8..547824bf778 100644 --- a/googleapiclient/discovery_cache/documents/certificatemanager.v1.json +++ b/googleapiclient/discovery_cache/documents/certificatemanager.v1.json @@ -1280,9 +1280,20 @@ } } }, -"revision": "20240306", +"revision": "20240313", "rootUrl": "https://certificatemanager.googleapis.com/", "schemas": { +"AllowlistedCertificate": { +"description": "Defines an allowlisted certificate.", +"id": "AllowlistedCertificate", +"properties": { +"pemCertificate": { +"description": "Required. PEM certificate that is allowlisted. The certificate can be up to 5k bytes, and must be a parseable X.509 certificate.", +"type": "string" +} +}, +"type": "object" +}, "AuthorizationAttemptInfo": { "description": "State of the latest attempt to authorize a domain for certificate issuance.", "id": "AuthorizationAttemptInfo", @@ -2185,6 +2196,13 @@ "description": "Defines a trust config.", "id": "TrustConfig", "properties": { +"allowlistedCertificates": { +"description": "Optional. A certificate matching an allowlisted certificate is always considered valid as long as the certificate is parseable, proof of private key possession is established, and constraints on the certificate\u2019s SAN field are met.", +"items": { +"$ref": "AllowlistedCertificate" +}, +"type": "array" +}, "createTime": { "description": "Output only. The creation timestamp of a TrustConfig.", "format": "google-datetime",