Debian Codegraph @

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

raw
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 <p class="toc_element">
96 <code><a href="#patch">patch(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
97 <p class="firstline">Updates a CertificateIssuanceConfig.</p>
98 <h3>Method Details</h3>
99 <div class="method">
100 <code class="details" id="close">close()</code>
101 <pre>Close httplib2 connections.</pre>
102 </div>
103
104 <div class="method">
105 <code class="details" id="create">create(parent, body=None, certificateIssuanceConfigId=None, x__xgafv=None)</code>
106 <pre>Creates a new CertificateIssuanceConfig in a given project and location.
107
108 Args:
109 parent: string, Required. The parent resource of the certificate issuance config. Must be in the format `projects/*/locations/*`. (required)
110 body: object, The request body.
111 The object takes the form of:
112
113 { # CertificateIssuanceConfig specifies how to issue and manage a certificate.
114 &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.
115 &quot;certificateAuthorityServiceConfig&quot;: { # Contains information required to contact CA service. # Defines a CertificateAuthorityServiceConfig.
116 &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;.
117 },
118 },
119 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The creation timestamp of a CertificateIssuanceConfig.
120 &quot;description&quot;: &quot;A String&quot;, # Optional. One or more paragraphs of text description of a CertificateIssuanceConfig.
121 &quot;keyAlgorithm&quot;: &quot;A String&quot;, # Required. The key algorithm to use when generating the private key.
122 &quot;labels&quot;: { # Optional. Set of labels associated with a CertificateIssuanceConfig.
123 &quot;a_key&quot;: &quot;A String&quot;,
124 },
125 &quot;lifetime&quot;: &quot;A String&quot;, # Required. Workload certificate lifetime requested.
126 &quot;name&quot;: &quot;A String&quot;, # Identifier. A user-defined name of the certificate issuance config. CertificateIssuanceConfig names must be unique globally and match pattern `projects/*/locations/*/certificateIssuanceConfigs/*`.
127 &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.
128 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The last update timestamp of a CertificateIssuanceConfig.
129 }
130
131 certificateIssuanceConfigId: string, Required. A user-provided name of the certificate config.
132 x__xgafv: string, V1 error format.
133 Allowed values
134 1 - v1 error format
135 2 - v2 error format
136
137 Returns:
138 An object of the form:
139
140 { # This resource represents a long-running operation that is the result of a network API call.
141 &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.
142 &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.
143 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
144 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
145 {
146 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
147 },
148 ],
149 &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.
150 },
151 &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.
152 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
153 },
154 &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}`.
155 &quot;response&quot;: { # The normal, successful response of the operation. 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`.
156 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
157 },
158 }</pre>
159 </div>
160
161 <div class="method">
162 <code class="details" id="delete">delete(name, x__xgafv=None)</code>
163 <pre>Deletes a single CertificateIssuanceConfig.
164
165 Args:
166 name: string, Required. A name of the certificate issuance config to delete. Must be in the format `projects/*/locations/*/certificateIssuanceConfigs/*`. (required)
167 x__xgafv: string, V1 error format.
168 Allowed values
169 1 - v1 error format
170 2 - v2 error format
171
172 Returns:
173 An object of the form:
174
175 { # This resource represents a long-running operation that is the result of a network API call.
176 &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.
177 &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.
178 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
179 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
180 {
181 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
182 },
183 ],
184 &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.
185 },
186 &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.
187 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
188 },
189 &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}`.
190 &quot;response&quot;: { # The normal, successful response of the operation. 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`.
191 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
192 },
193 }</pre>
194 </div>
195
196 <div class="method">
197 <code class="details" id="get">get(name, x__xgafv=None)</code>
198 <pre>Gets details of a single CertificateIssuanceConfig.
199
200 Args:
201 name: string, Required. A name of the certificate issuance config to describe. Must be in the format `projects/*/locations/*/certificateIssuanceConfigs/*`. (required)
202 x__xgafv: string, V1 error format.
203 Allowed values
204 1 - v1 error format
205 2 - v2 error format
206
207 Returns:
208 An object of the form:
209
210 { # CertificateIssuanceConfig specifies how to issue and manage a certificate.
211 &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.
212 &quot;certificateAuthorityServiceConfig&quot;: { # Contains information required to contact CA service. # Defines a CertificateAuthorityServiceConfig.
213 &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;.
214 },
215 },
216 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The creation timestamp of a CertificateIssuanceConfig.
217 &quot;description&quot;: &quot;A String&quot;, # Optional. One or more paragraphs of text description of a CertificateIssuanceConfig.
218 &quot;keyAlgorithm&quot;: &quot;A String&quot;, # Required. The key algorithm to use when generating the private key.
219 &quot;labels&quot;: { # Optional. Set of labels associated with a CertificateIssuanceConfig.
220 &quot;a_key&quot;: &quot;A String&quot;,
221 },
222 &quot;lifetime&quot;: &quot;A String&quot;, # Required. Workload certificate lifetime requested.
223 &quot;name&quot;: &quot;A String&quot;, # Identifier. A user-defined name of the certificate issuance config. CertificateIssuanceConfig names must be unique globally and match pattern `projects/*/locations/*/certificateIssuanceConfigs/*`.
224 &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.
225 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The last update timestamp of a CertificateIssuanceConfig.
226 }</pre>
227 </div>
228
229 <div class="method">
230 <code class="details" id="list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
231 <pre>Lists CertificateIssuanceConfigs in a given project and location.
232
233 Args:
234 parent: string, Required. The project and location from which the certificate should be listed, specified in the format `projects/*/locations/*`. (required)
235 filter: string, Optional. Filter expression to restrict the Certificates Configs returned.
236 orderBy: string, Optional. 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;`.
237 pageSize: integer, Optional. Maximum number of certificate configs to return per call.
238 pageToken: string, Optional. 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.
239 x__xgafv: string, V1 error format.
240 Allowed values
241 1 - v1 error format
242 2 - v2 error format
243
244 Returns:
245 An object of the form:
246
247 { # Response for the `ListCertificateIssuanceConfigs` method.
248 &quot;certificateIssuanceConfigs&quot;: [ # A list of certificate configs for the parent resource.
249 { # CertificateIssuanceConfig specifies how to issue and manage a certificate.
250 &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.
251 &quot;certificateAuthorityServiceConfig&quot;: { # Contains information required to contact CA service. # Defines a CertificateAuthorityServiceConfig.
252 &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;.
253 },
254 },
255 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The creation timestamp of a CertificateIssuanceConfig.
256 &quot;description&quot;: &quot;A String&quot;, # Optional. One or more paragraphs of text description of a CertificateIssuanceConfig.
257 &quot;keyAlgorithm&quot;: &quot;A String&quot;, # Required. The key algorithm to use when generating the private key.
258 &quot;labels&quot;: { # Optional. Set of labels associated with a CertificateIssuanceConfig.
259 &quot;a_key&quot;: &quot;A String&quot;,
260 },
261 &quot;lifetime&quot;: &quot;A String&quot;, # Required. Workload certificate lifetime requested.
262 &quot;name&quot;: &quot;A String&quot;, # Identifier. A user-defined name of the certificate issuance config. CertificateIssuanceConfig names must be unique globally and match pattern `projects/*/locations/*/certificateIssuanceConfigs/*`.
263 &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.
264 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The last update timestamp of a CertificateIssuanceConfig.
265 },
266 ],
267 &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`.
268 &quot;unreachable&quot;: [ # Locations that could not be reached.
269 &quot;A String&quot;,
270 ],
271 }</pre>
272 </div>
273
274 <div class="method">
275 <code class="details" id="list_next">list_next()</code>
276 <pre>Retrieves the next page of results.
277
278 Args:
279 previous_request: The request for the previous page. (required)
280 previous_response: The response from the request for the previous page. (required)
281
282 Returns:
283 A request object that you can call &#x27;execute()&#x27; on to request the next
284 page. Returns None if there are no more items in the collection.
285 </pre>
286 </div>
287
288 <div class="method">
289 <code class="details" id="patch">patch(name, body=None, updateMask=None, x__xgafv=None)</code>
290 <pre>Updates a CertificateIssuanceConfig.
291
292 Args:
293 name: string, Identifier. A user-defined name of the certificate issuance config. CertificateIssuanceConfig names must be unique globally and match pattern `projects/*/locations/*/certificateIssuanceConfigs/*`. (required)
294 body: object, The request body.
295 The object takes the form of:
296
297 { # CertificateIssuanceConfig specifies how to issue and manage a certificate.
298 &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.
299 &quot;certificateAuthorityServiceConfig&quot;: { # Contains information required to contact CA service. # Defines a CertificateAuthorityServiceConfig.
300 &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;.
301 },
302 },
303 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The creation timestamp of a CertificateIssuanceConfig.
304 &quot;description&quot;: &quot;A String&quot;, # Optional. One or more paragraphs of text description of a CertificateIssuanceConfig.
305 &quot;keyAlgorithm&quot;: &quot;A String&quot;, # Required. The key algorithm to use when generating the private key.
306 &quot;labels&quot;: { # Optional. Set of labels associated with a CertificateIssuanceConfig.
307 &quot;a_key&quot;: &quot;A String&quot;,
308 },
309 &quot;lifetime&quot;: &quot;A String&quot;, # Required. Workload certificate lifetime requested.
310 &quot;name&quot;: &quot;A String&quot;, # Identifier. A user-defined name of the certificate issuance config. CertificateIssuanceConfig names must be unique globally and match pattern `projects/*/locations/*/certificateIssuanceConfigs/*`.
311 &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.
312 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The last update timestamp of a CertificateIssuanceConfig.
313 }
314
315 updateMask: string, Required. The update mask applies to the resource. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.
316 x__xgafv: string, V1 error format.
317 Allowed values
318 1 - v1 error format
319 2 - v2 error format
320
321 Returns:
322 An object of the form:
323
324 { # This resource represents a long-running operation that is the result of a network API call.
325 &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.
326 &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.
327 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
328 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
329 {
330 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
331 },
332 ],
333 &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.
334 },
335 &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.
336 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
337 },
338 &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}`.
339 &quot;response&quot;: { # The normal, successful response of the operation. 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`.
340 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
341 },
342 }</pre>
343 </div>
344
345 </body></html>