Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 2fe105a

Browse files
committedOct 4, 2022
feat(certificatemanager): update the api
#### certificatemanager:v1 The following keys were added: - resources.projects.resources.locations.resources.certificateIssuanceConfigs.methods.create (Total Keys: 14) - resources.projects.resources.locations.resources.certificateIssuanceConfigs.methods.delete (Total Keys: 11) - resources.projects.resources.locations.resources.certificateIssuanceConfigs.methods.get (Total Keys: 11) - resources.projects.resources.locations.resources.certificateIssuanceConfigs.methods.list (Total Keys: 20) - schemas.CertificateAuthorityConfig (Total Keys: 3) - schemas.CertificateAuthorityServiceConfig (Total Keys: 3) - schemas.CertificateIssuanceConfig (Total Keys: 17) - schemas.ListCertificateIssuanceConfigsResponse (Total Keys: 7) - schemas.ManagedCertificate.properties.issuanceConfig.type (Total Keys: 1)
1 parent 2ee419b commit 2fe105a

4 files changed

+541
-1
lines changed
 
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,285 @@
1+
<html><body>
2+
<style>
3+
4+
body, h1, h2, h3, div, span, p, pre, a {
5+
margin: 0;
6+
padding: 0;
7+
border: 0;
8+
font-weight: inherit;
9+
font-style: inherit;
10+
font-size: 100%;
11+
font-family: inherit;
12+
vertical-align: baseline;
13+
}
14+
15+
body {
16+
font-size: 13px;
17+
padding: 1em;
18+
}
19+
20+
h1 {
21+
font-size: 26px;
22+
margin-bottom: 1em;
23+
}
24+
25+
h2 {
26+
font-size: 24px;
27+
margin-bottom: 1em;
28+
}
29+
30+
h3 {
31+
font-size: 20px;
32+
margin-bottom: 1em;
33+
margin-top: 1em;
34+
}
35+
36+
pre, code {
37+
line-height: 1.5;
38+
font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39+
}
40+
41+
pre {
42+
margin-top: 0.5em;
43+
}
44+
45+
h1, h2, h3, p {
46+
font-family: Arial, sans serif;
47+
}
48+
49+
h1, h2, h3 {
50+
border-bottom: solid #CCC 1px;
51+
}
52+
53+
.toc_element {
54+
margin-top: 0.5em;
55+
}
56+
57+
.firstline {
58+
margin-left: 2 em;
59+
}
60+
61+
.method {
62+
margin-top: 1em;
63+
border: solid 1px #CCC;
64+
padding: 1em;
65+
background: #EEE;
66+
}
67+
68+
.details {
69+
font-weight: bold;
70+
font-size: 14px;
71+
}
72+
73+
</style>
74+
75+
<h1><a href="certificatemanager_v1.html">Certificate Manager API</a> . <a href="certificatemanager_v1.projects.html">projects</a> . <a href="certificatemanager_v1.projects.locations.html">locations</a> . <a href="certificatemanager_v1.projects.locations.certificateIssuanceConfigs.html">certificateIssuanceConfigs</a></h1>
76+
<h2>Instance Methods</h2>
77+
<p class="toc_element">
78+
<code><a href="#close">close()</a></code></p>
79+
<p class="firstline">Close httplib2 connections.</p>
80+
<p class="toc_element">
81+
<code><a href="#create">create(parent, body=None, certificateIssuanceConfigId=None, x__xgafv=None)</a></code></p>
82+
<p class="firstline">Creates a new CertificateIssuanceConfig in a given project and location.</p>
83+
<p class="toc_element">
84+
<code><a href="#delete">delete(name, x__xgafv=None)</a></code></p>
85+
<p class="firstline">Deletes a single CertificateIssuanceConfig.</p>
86+
<p class="toc_element">
87+
<code><a href="#get">get(name, x__xgafv=None)</a></code></p>
88+
<p class="firstline">Gets details of a single CertificateIssuanceConfig.</p>
89+
<p class="toc_element">
90+
<code><a href="#list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
91+
<p class="firstline">Lists CertificateIssuanceConfigs in a given project and location.</p>
92+
<p class="toc_element">
93+
<code><a href="#list_next">list_next()</a></code></p>
94+
<p class="firstline">Retrieves the next page of results.</p>
95+
<h3>Method Details</h3>
96+
<div class="method">
97+
<code class="details" id="close">close()</code>
98+
<pre>Close httplib2 connections.</pre>
99+
</div>
100+
101+
<div class="method">
102+
<code class="details" id="create">create(parent, body=None, certificateIssuanceConfigId=None, x__xgafv=None)</code>
103+
<pre>Creates a new CertificateIssuanceConfig in a given project and location.
104+
105+
Args:
106+
parent: string, Required. The parent resource of the certificate issuance config. Must be in the format `projects/*/locations/*`. (required)
107+
body: object, The request body.
108+
The object takes the form of:
109+
110+
{ # CertificateIssuanceConfig specifies how to issue and manage a certificate.
111+
&quot;certificateAuthorityConfig&quot;: { # The CA that issues the workload certificate. It includes CA address, type, authentication to CA service, etc. # Required. The CA that issues the workload certificate. It includes the CA address, type, authentication to CA service, etc.
112+
&quot;certificateAuthorityServiceConfig&quot;: { # Contains information required to contact CA service. # Defines a CertificateAuthorityServiceConfig.
113+
&quot;caPool&quot;: &quot;A String&quot;, # Required. A CA pool resource used to issue a certificate. The CA pool string has a relative resource path following the form &quot;projects/{project}/locations/{location}/caPools/{ca_pool}&quot;.
114+
},
115+
},
116+
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The creation timestamp of a CertificateIssuanceConfig.
117+
&quot;description&quot;: &quot;A String&quot;, # One or more paragraphs of text description of a CertificateIssuanceConfig.
118+
&quot;keyAlgorithm&quot;: &quot;A String&quot;, # Required. The key algorithm to use when generating the private key.
119+
&quot;labels&quot;: { # Set of labels associated with a CertificateIssuanceConfig.
120+
&quot;a_key&quot;: &quot;A String&quot;,
121+
},
122+
&quot;lifetime&quot;: &quot;A String&quot;, # Required. Workload certificate lifetime requested.
123+
&quot;name&quot;: &quot;A String&quot;, # A user-defined name of the certificate issuance config. CertificateIssuanceConfig names must be unique globally and match pattern `projects/*/locations/*/certificateIssuanceConfigs/*`.
124+
&quot;rotationWindowPercentage&quot;: 42, # Required. Specifies the percentage of elapsed time of the certificate lifetime to wait before renewing the certificate. Must be a number between 1-99, inclusive.
125+
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The last update timestamp of a CertificateIssuanceConfig.
126+
}
127+
128+
certificateIssuanceConfigId: string, Required. A user-provided name of the certificate config.
129+
x__xgafv: string, V1 error format.
130+
Allowed values
131+
1 - v1 error format
132+
2 - v2 error format
133+
134+
Returns:
135+
An object of the form:
136+
137+
{ # This resource represents a long-running operation that is the result of a network API call.
138+
&quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
139+
&quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
140+
&quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
141+
&quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
142+
{
143+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
144+
},
145+
],
146+
&quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
147+
},
148+
&quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
149+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
150+
},
151+
&quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
152+
&quot;response&quot;: { # The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
153+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
154+
},
155+
}</pre>
156+
</div>
157+
158+
<div class="method">
159+
<code class="details" id="delete">delete(name, x__xgafv=None)</code>
160+
<pre>Deletes a single CertificateIssuanceConfig.
161+
162+
Args:
163+
name: string, Required. A name of the certificate issuance config to delete. Must be in the format `projects/*/locations/*/certificateIssuanceConfigs/*`. (required)
164+
x__xgafv: string, V1 error format.
165+
Allowed values
166+
1 - v1 error format
167+
2 - v2 error format
168+
169+
Returns:
170+
An object of the form:
171+
172+
{ # This resource represents a long-running operation that is the result of a network API call.
173+
&quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
174+
&quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
175+
&quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
176+
&quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
177+
{
178+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
179+
},
180+
],
181+
&quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
182+
},
183+
&quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
184+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
185+
},
186+
&quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
187+
&quot;response&quot;: { # The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
188+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
189+
},
190+
}</pre>
191+
</div>
192+
193+
<div class="method">
194+
<code class="details" id="get">get(name, x__xgafv=None)</code>
195+
<pre>Gets details of a single CertificateIssuanceConfig.
196+
197+
Args:
198+
name: string, Required. A name of the certificate issuance config to describe. Must be in the format `projects/*/locations/*/certificateIssuanceConfigs/*`. (required)
199+
x__xgafv: string, V1 error format.
200+
Allowed values
201+
1 - v1 error format
202+
2 - v2 error format
203+
204+
Returns:
205+
An object of the form:
206+
207+
{ # CertificateIssuanceConfig specifies how to issue and manage a certificate.
208+
&quot;certificateAuthorityConfig&quot;: { # The CA that issues the workload certificate. It includes CA address, type, authentication to CA service, etc. # Required. The CA that issues the workload certificate. It includes the CA address, type, authentication to CA service, etc.
209+
&quot;certificateAuthorityServiceConfig&quot;: { # Contains information required to contact CA service. # Defines a CertificateAuthorityServiceConfig.
210+
&quot;caPool&quot;: &quot;A String&quot;, # Required. A CA pool resource used to issue a certificate. The CA pool string has a relative resource path following the form &quot;projects/{project}/locations/{location}/caPools/{ca_pool}&quot;.
211+
},
212+
},
213+
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The creation timestamp of a CertificateIssuanceConfig.
214+
&quot;description&quot;: &quot;A String&quot;, # One or more paragraphs of text description of a CertificateIssuanceConfig.
215+
&quot;keyAlgorithm&quot;: &quot;A String&quot;, # Required. The key algorithm to use when generating the private key.
216+
&quot;labels&quot;: { # Set of labels associated with a CertificateIssuanceConfig.
217+
&quot;a_key&quot;: &quot;A String&quot;,
218+
},
219+
&quot;lifetime&quot;: &quot;A String&quot;, # Required. Workload certificate lifetime requested.
220+
&quot;name&quot;: &quot;A String&quot;, # A user-defined name of the certificate issuance config. CertificateIssuanceConfig names must be unique globally and match pattern `projects/*/locations/*/certificateIssuanceConfigs/*`.
221+
&quot;rotationWindowPercentage&quot;: 42, # Required. Specifies the percentage of elapsed time of the certificate lifetime to wait before renewing the certificate. Must be a number between 1-99, inclusive.
222+
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The last update timestamp of a CertificateIssuanceConfig.
223+
}</pre>
224+
</div>
225+
226+
<div class="method">
227+
<code class="details" id="list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
228+
<pre>Lists CertificateIssuanceConfigs in a given project and location.
229+
230+
Args:
231+
parent: string, Required. The project and location from which the certificate should be listed, specified in the format `projects/*/locations/*`. (required)
232+
filter: string, Filter expression to restrict the Certificates Configs returned.
233+
orderBy: string, A list of Certificate Config field names used to specify the order of the returned results. The default sorting order is ascending. To specify descending order for a field, add a suffix &quot; desc&quot;.
234+
pageSize: integer, Maximum number of certificate configs to return per call.
235+
pageToken: string, The value returned by the last `ListCertificateIssuanceConfigsResponse`. Indicates that this is a continuation of a prior `ListCertificateIssuanceConfigs` call, and that the system should return the next page of data.
236+
x__xgafv: string, V1 error format.
237+
Allowed values
238+
1 - v1 error format
239+
2 - v2 error format
240+
241+
Returns:
242+
An object of the form:
243+
244+
{ # Response for the `ListCertificateIssuanceConfigs` method.
245+
&quot;certificateIssuanceConfigs&quot;: [ # A list of certificate configs for the parent resource.
246+
{ # CertificateIssuanceConfig specifies how to issue and manage a certificate.
247+
&quot;certificateAuthorityConfig&quot;: { # The CA that issues the workload certificate. It includes CA address, type, authentication to CA service, etc. # Required. The CA that issues the workload certificate. It includes the CA address, type, authentication to CA service, etc.
248+
&quot;certificateAuthorityServiceConfig&quot;: { # Contains information required to contact CA service. # Defines a CertificateAuthorityServiceConfig.
249+
&quot;caPool&quot;: &quot;A String&quot;, # Required. A CA pool resource used to issue a certificate. The CA pool string has a relative resource path following the form &quot;projects/{project}/locations/{location}/caPools/{ca_pool}&quot;.
250+
},
251+
},
252+
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The creation timestamp of a CertificateIssuanceConfig.
253+
&quot;description&quot;: &quot;A String&quot;, # One or more paragraphs of text description of a CertificateIssuanceConfig.
254+
&quot;keyAlgorithm&quot;: &quot;A String&quot;, # Required. The key algorithm to use when generating the private key.
255+
&quot;labels&quot;: { # Set of labels associated with a CertificateIssuanceConfig.
256+
&quot;a_key&quot;: &quot;A String&quot;,
257+
},
258+
&quot;lifetime&quot;: &quot;A String&quot;, # Required. Workload certificate lifetime requested.
259+
&quot;name&quot;: &quot;A String&quot;, # A user-defined name of the certificate issuance config. CertificateIssuanceConfig names must be unique globally and match pattern `projects/*/locations/*/certificateIssuanceConfigs/*`.
260+
&quot;rotationWindowPercentage&quot;: 42, # Required. Specifies the percentage of elapsed time of the certificate lifetime to wait before renewing the certificate. Must be a number between 1-99, inclusive.
261+
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The last update timestamp of a CertificateIssuanceConfig.
262+
},
263+
],
264+
&quot;nextPageToken&quot;: &quot;A String&quot;, # 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`.
265+
&quot;unreachable&quot;: [ # Locations that could not be reached.
266+
&quot;A String&quot;,
267+
],
268+
}</pre>
269+
</div>
270+
271+
<div class="method">
272+
<code class="details" id="list_next">list_next()</code>
273+
<pre>Retrieves the next page of results.
274+
275+
Args:
276+
previous_request: The request for the previous page. (required)
277+
previous_response: The response from the request for the previous page. (required)
278+
279+
Returns:
280+
A request object that you can call &#x27;execute()&#x27; on to request the next
281+
page. Returns None if there are no more items in the collection.
282+
</pre>
283+
</div>
284+
285+
</body></html>

‎docs/dyn/certificatemanager_v1.projects.locations.certificates.html

+4
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ <h3>Method Details</h3>
132132
&quot;domains&quot;: [ # Immutable. The domains for which a managed SSL certificate will be generated. Wildcard domains are only supported with DNS challenge resolution.
133133
&quot;A String&quot;,
134134
],
135+
&quot;issuanceConfig&quot;: &quot;A String&quot;, # Immutable. The resource name for a CertificateIssuanceConfig used to configure private PKI certificates in the format `projects/*/locations/*/certificateIssuanceConfigs/*`. If this field is not set, the certificates will instead be publicly signed as documented at https://cloud.google.com/load-balancing/docs/ssl-certificates/google-managed-certs#caa.
135136
&quot;provisioningIssue&quot;: { # Information about issues with provisioning a Managed Certificate. # Output only. Information about issues with provisioning a Managed Certificate.
136137
&quot;details&quot;: &quot;A String&quot;, # Output only. Human readable explanation about the issue. Provided to help address the configuration issues. Not guaranteed to be stable. For programmatic access use Reason enum.
137138
&quot;reason&quot;: &quot;A String&quot;, # Output only. Reason for provisioning failures.
@@ -252,6 +253,7 @@ <h3>Method Details</h3>
252253
&quot;domains&quot;: [ # Immutable. The domains for which a managed SSL certificate will be generated. Wildcard domains are only supported with DNS challenge resolution.
253254
&quot;A String&quot;,
254255
],
256+
&quot;issuanceConfig&quot;: &quot;A String&quot;, # Immutable. The resource name for a CertificateIssuanceConfig used to configure private PKI certificates in the format `projects/*/locations/*/certificateIssuanceConfigs/*`. If this field is not set, the certificates will instead be publicly signed as documented at https://cloud.google.com/load-balancing/docs/ssl-certificates/google-managed-certs#caa.
255257
&quot;provisioningIssue&quot;: { # Information about issues with provisioning a Managed Certificate. # Output only. Information about issues with provisioning a Managed Certificate.
256258
&quot;details&quot;: &quot;A String&quot;, # Output only. Human readable explanation about the issue. Provided to help address the configuration issues. Not guaranteed to be stable. For programmatic access use Reason enum.
257259
&quot;reason&quot;: &quot;A String&quot;, # Output only. Reason for provisioning failures.
@@ -314,6 +316,7 @@ <h3>Method Details</h3>
314316
&quot;domains&quot;: [ # Immutable. The domains for which a managed SSL certificate will be generated. Wildcard domains are only supported with DNS challenge resolution.
315317
&quot;A String&quot;,
316318
],
319+
&quot;issuanceConfig&quot;: &quot;A String&quot;, # Immutable. The resource name for a CertificateIssuanceConfig used to configure private PKI certificates in the format `projects/*/locations/*/certificateIssuanceConfigs/*`. If this field is not set, the certificates will instead be publicly signed as documented at https://cloud.google.com/load-balancing/docs/ssl-certificates/google-managed-certs#caa.
317320
&quot;provisioningIssue&quot;: { # Information about issues with provisioning a Managed Certificate. # Output only. Information about issues with provisioning a Managed Certificate.
318321
&quot;details&quot;: &quot;A String&quot;, # Output only. Human readable explanation about the issue. Provided to help address the configuration issues. Not guaranteed to be stable. For programmatic access use Reason enum.
319322
&quot;reason&quot;: &quot;A String&quot;, # Output only. Reason for provisioning failures.
@@ -385,6 +388,7 @@ <h3>Method Details</h3>
385388
&quot;domains&quot;: [ # Immutable. The domains for which a managed SSL certificate will be generated. Wildcard domains are only supported with DNS challenge resolution.
386389
&quot;A String&quot;,
387390
],
391+
&quot;issuanceConfig&quot;: &quot;A String&quot;, # Immutable. The resource name for a CertificateIssuanceConfig used to configure private PKI certificates in the format `projects/*/locations/*/certificateIssuanceConfigs/*`. If this field is not set, the certificates will instead be publicly signed as documented at https://cloud.google.com/load-balancing/docs/ssl-certificates/google-managed-certs#caa.
388392
&quot;provisioningIssue&quot;: { # Information about issues with provisioning a Managed Certificate. # Output only. Information about issues with provisioning a Managed Certificate.
389393
&quot;details&quot;: &quot;A String&quot;, # Output only. Human readable explanation about the issue. Provided to help address the configuration issues. Not guaranteed to be stable. For programmatic access use Reason enum.
390394
&quot;reason&quot;: &quot;A String&quot;, # Output only. Reason for provisioning failures.

‎docs/dyn/certificatemanager_v1.projects.locations.html

+5
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,11 @@
7474

7575
<h1><a href="certificatemanager_v1.html">Certificate Manager API</a> . <a href="certificatemanager_v1.projects.html">projects</a> . <a href="certificatemanager_v1.projects.locations.html">locations</a></h1>
7676
<h2>Instance Methods</h2>
77+
<p class="toc_element">
78+
<code><a href="certificatemanager_v1.projects.locations.certificateIssuanceConfigs.html">certificateIssuanceConfigs()</a></code>
79+
</p>
80+
<p class="firstline">Returns the certificateIssuanceConfigs Resource.</p>
81+
7782
<p class="toc_element">
7883
<code><a href="certificatemanager_v1.projects.locations.certificateMaps.html">certificateMaps()</a></code>
7984
</p>

‎googleapiclient/discovery_cache/documents/certificatemanager.v1.json

+247-1
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,139 @@
177177
}
178178
},
179179
"resources": {
180+
"certificateIssuanceConfigs": {
181+
"methods": {
182+
"create": {
183+
"description": "Creates a new CertificateIssuanceConfig in a given project and location.",
184+
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/certificateIssuanceConfigs",
185+
"httpMethod": "POST",
186+
"id": "certificatemanager.projects.locations.certificateIssuanceConfigs.create",
187+
"parameterOrder": [
188+
"parent"
189+
],
190+
"parameters": {
191+
"certificateIssuanceConfigId": {
192+
"description": "Required. A user-provided name of the certificate config.",
193+
"location": "query",
194+
"type": "string"
195+
},
196+
"parent": {
197+
"description": "Required. The parent resource of the certificate issuance config. Must be in the format `projects/*/locations/*`.",
198+
"location": "path",
199+
"pattern": "^projects/[^/]+/locations/[^/]+$",
200+
"required": true,
201+
"type": "string"
202+
}
203+
},
204+
"path": "v1/{+parent}/certificateIssuanceConfigs",
205+
"request": {
206+
"$ref": "CertificateIssuanceConfig"
207+
},
208+
"response": {
209+
"$ref": "Operation"
210+
},
211+
"scopes": [
212+
"https://www.googleapis.com/auth/cloud-platform"
213+
]
214+
},
215+
"delete": {
216+
"description": "Deletes a single CertificateIssuanceConfig.",
217+
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/certificateIssuanceConfigs/{certificateIssuanceConfigsId}",
218+
"httpMethod": "DELETE",
219+
"id": "certificatemanager.projects.locations.certificateIssuanceConfigs.delete",
220+
"parameterOrder": [
221+
"name"
222+
],
223+
"parameters": {
224+
"name": {
225+
"description": "Required. A name of the certificate issuance config to delete. Must be in the format `projects/*/locations/*/certificateIssuanceConfigs/*`.",
226+
"location": "path",
227+
"pattern": "^projects/[^/]+/locations/[^/]+/certificateIssuanceConfigs/[^/]+$",
228+
"required": true,
229+
"type": "string"
230+
}
231+
},
232+
"path": "v1/{+name}",
233+
"response": {
234+
"$ref": "Operation"
235+
},
236+
"scopes": [
237+
"https://www.googleapis.com/auth/cloud-platform"
238+
]
239+
},
240+
"get": {
241+
"description": "Gets details of a single CertificateIssuanceConfig.",
242+
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/certificateIssuanceConfigs/{certificateIssuanceConfigsId}",
243+
"httpMethod": "GET",
244+
"id": "certificatemanager.projects.locations.certificateIssuanceConfigs.get",
245+
"parameterOrder": [
246+
"name"
247+
],
248+
"parameters": {
249+
"name": {
250+
"description": "Required. A name of the certificate issuance config to describe. Must be in the format `projects/*/locations/*/certificateIssuanceConfigs/*`.",
251+
"location": "path",
252+
"pattern": "^projects/[^/]+/locations/[^/]+/certificateIssuanceConfigs/[^/]+$",
253+
"required": true,
254+
"type": "string"
255+
}
256+
},
257+
"path": "v1/{+name}",
258+
"response": {
259+
"$ref": "CertificateIssuanceConfig"
260+
},
261+
"scopes": [
262+
"https://www.googleapis.com/auth/cloud-platform"
263+
]
264+
},
265+
"list": {
266+
"description": "Lists CertificateIssuanceConfigs in a given project and location.",
267+
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/certificateIssuanceConfigs",
268+
"httpMethod": "GET",
269+
"id": "certificatemanager.projects.locations.certificateIssuanceConfigs.list",
270+
"parameterOrder": [
271+
"parent"
272+
],
273+
"parameters": {
274+
"filter": {
275+
"description": "Filter expression to restrict the Certificates Configs returned.",
276+
"location": "query",
277+
"type": "string"
278+
},
279+
"orderBy": {
280+
"description": "A list of Certificate Config field names used to specify the order of the returned results. The default sorting order is ascending. To specify descending order for a field, add a suffix \" desc\".",
281+
"location": "query",
282+
"type": "string"
283+
},
284+
"pageSize": {
285+
"description": "Maximum number of certificate configs to return per call.",
286+
"format": "int32",
287+
"location": "query",
288+
"type": "integer"
289+
},
290+
"pageToken": {
291+
"description": "The value returned by the last `ListCertificateIssuanceConfigsResponse`. Indicates that this is a continuation of a prior `ListCertificateIssuanceConfigs` call, and that the system should return the next page of data.",
292+
"location": "query",
293+
"type": "string"
294+
},
295+
"parent": {
296+
"description": "Required. The project and location from which the certificate should be listed, specified in the format `projects/*/locations/*`.",
297+
"location": "path",
298+
"pattern": "^projects/[^/]+/locations/[^/]+$",
299+
"required": true,
300+
"type": "string"
301+
}
302+
},
303+
"path": "v1/{+parent}/certificateIssuanceConfigs",
304+
"response": {
305+
"$ref": "ListCertificateIssuanceConfigsResponse"
306+
},
307+
"scopes": [
308+
"https://www.googleapis.com/auth/cloud-platform"
309+
]
310+
}
311+
}
312+
},
180313
"certificateMaps": {
181314
"methods": {
182315
"create": {
@@ -975,7 +1108,7 @@
9751108
}
9761109
}
9771110
},
978-
"revision": "20220914",
1111+
"revision": "20220927",
9791112
"rootUrl": "https://certificatemanager.googleapis.com/",
9801113
"schemas": {
9811114
"AuthorizationAttemptInfo": {
@@ -1107,6 +1240,90 @@
11071240
},
11081241
"type": "object"
11091242
},
1243+
"CertificateAuthorityConfig": {
1244+
"description": "The CA that issues the workload certificate. It includes CA address, type, authentication to CA service, etc.",
1245+
"id": "CertificateAuthorityConfig",
1246+
"properties": {
1247+
"certificateAuthorityServiceConfig": {
1248+
"$ref": "CertificateAuthorityServiceConfig",
1249+
"description": "Defines a CertificateAuthorityServiceConfig."
1250+
}
1251+
},
1252+
"type": "object"
1253+
},
1254+
"CertificateAuthorityServiceConfig": {
1255+
"description": "Contains information required to contact CA service.",
1256+
"id": "CertificateAuthorityServiceConfig",
1257+
"properties": {
1258+
"caPool": {
1259+
"description": "Required. A CA pool resource used to issue a certificate. The CA pool string has a relative resource path following the form \"projects/{project}/locations/{location}/caPools/{ca_pool}\".",
1260+
"type": "string"
1261+
}
1262+
},
1263+
"type": "object"
1264+
},
1265+
"CertificateIssuanceConfig": {
1266+
"description": "CertificateIssuanceConfig specifies how to issue and manage a certificate.",
1267+
"id": "CertificateIssuanceConfig",
1268+
"properties": {
1269+
"certificateAuthorityConfig": {
1270+
"$ref": "CertificateAuthorityConfig",
1271+
"description": "Required. The CA that issues the workload certificate. It includes the CA address, type, authentication to CA service, etc."
1272+
},
1273+
"createTime": {
1274+
"description": "Output only. The creation timestamp of a CertificateIssuanceConfig.",
1275+
"format": "google-datetime",
1276+
"readOnly": true,
1277+
"type": "string"
1278+
},
1279+
"description": {
1280+
"description": "One or more paragraphs of text description of a CertificateIssuanceConfig.",
1281+
"type": "string"
1282+
},
1283+
"keyAlgorithm": {
1284+
"description": "Required. The key algorithm to use when generating the private key.",
1285+
"enum": [
1286+
"KEY_ALGORITHM_UNSPECIFIED",
1287+
"RSA_2048",
1288+
"ECDSA_P256"
1289+
],
1290+
"enumDescriptions": [
1291+
"Unspecified key algorithm.",
1292+
"Specifies RSA with a 2048-bit modulus.",
1293+
"Specifies ECDSA with curve P256."
1294+
],
1295+
"type": "string"
1296+
},
1297+
"labels": {
1298+
"additionalProperties": {
1299+
"type": "string"
1300+
},
1301+
"description": "Set of labels associated with a CertificateIssuanceConfig.",
1302+
"type": "object"
1303+
},
1304+
"lifetime": {
1305+
"description": "Required. Workload certificate lifetime requested.",
1306+
"format": "google-duration",
1307+
"type": "string"
1308+
},
1309+
"name": {
1310+
"description": "A user-defined name of the certificate issuance config. CertificateIssuanceConfig names must be unique globally and match pattern `projects/*/locations/*/certificateIssuanceConfigs/*`.",
1311+
"type": "string"
1312+
},
1313+
"rotationWindowPercentage": {
1314+
"description": "Required. Specifies the percentage of elapsed time of the certificate lifetime to wait before renewing the certificate. Must be a number between 1-99, inclusive.",
1315+
"format": "int32",
1316+
"type": "integer"
1317+
},
1318+
"updateTime": {
1319+
"description": "Output only. The last update timestamp of a CertificateIssuanceConfig.",
1320+
"format": "google-datetime",
1321+
"readOnly": true,
1322+
"type": "string"
1323+
}
1324+
},
1325+
"type": "object"
1326+
},
11101327
"CertificateMap": {
11111328
"description": "Defines a collection of certificate configurations.",
11121329
"id": "CertificateMap",
@@ -1338,6 +1555,31 @@
13381555
},
13391556
"type": "object"
13401557
},
1558+
"ListCertificateIssuanceConfigsResponse": {
1559+
"description": "Response for the `ListCertificateIssuanceConfigs` method.",
1560+
"id": "ListCertificateIssuanceConfigsResponse",
1561+
"properties": {
1562+
"certificateIssuanceConfigs": {
1563+
"description": "A list of certificate configs for the parent resource.",
1564+
"items": {
1565+
"$ref": "CertificateIssuanceConfig"
1566+
},
1567+
"type": "array"
1568+
},
1569+
"nextPageToken": {
1570+
"description": "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`.",
1571+
"type": "string"
1572+
},
1573+
"unreachable": {
1574+
"description": "Locations that could not be reached.",
1575+
"items": {
1576+
"type": "string"
1577+
},
1578+
"type": "array"
1579+
}
1580+
},
1581+
"type": "object"
1582+
},
13411583
"ListCertificateMapEntriesResponse": {
13421584
"description": "Response for the `ListCertificateMapEntries` method.",
13431585
"id": "ListCertificateMapEntriesResponse",
@@ -1534,6 +1776,10 @@
15341776
},
15351777
"type": "array"
15361778
},
1779+
"issuanceConfig": {
1780+
"description": "Immutable. The resource name for a CertificateIssuanceConfig used to configure private PKI certificates in the format `projects/*/locations/*/certificateIssuanceConfigs/*`. If this field is not set, the certificates will instead be publicly signed as documented at https://cloud.google.com/load-balancing/docs/ssl-certificates/google-managed-certs#caa.",
1781+
"type": "string"
1782+
},
15371783
"provisioningIssue": {
15381784
"$ref": "ProvisioningIssue",
15391785
"description": "Output only. Information about issues with provisioning a Managed Certificate.",

0 commit comments

Comments
 (0)
Please sign in to comment.