blob: 25f2e8f4cf8c290719213f76d220bb5e6379c1dd [file] [log] [blame]
Sai Cheemalapatidf613972016-10-21 13:59:49 -07001<html><body>
2<style>
3
4body, 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
15body {
16 font-size: 13px;
17 padding: 1em;
18}
19
20h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23}
24
25h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28}
29
30h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34}
35
36pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39}
40
41pre {
42 margin-top: 0.5em;
43}
44
45h1, h2, h3, p {
46 font-family: Arial, sans serif;
47}
48
49h1, 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="compute_alpha.html">Compute Engine API</a> . <a href="compute_alpha.sslCertificates.html">sslCertificates</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
Bu Sun Kim65020912020-05-20 12:08:20 -070078 <code><a href="#aggregatedList">aggregatedList(project, filter=None, includeAllScopes=None, maxResults=None, orderBy=None, pageToken=None, returnPartialSuccess=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070079<p class="firstline">Retrieves the list of all SslCertificate resources, regional and global, available to the specified project.</p>
80<p class="toc_element">
81 <code><a href="#aggregatedList_next">aggregatedList_next(previous_request, previous_response)</a></code></p>
82<p class="firstline">Retrieves the next page of results.</p>
83<p class="toc_element">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070084 <code><a href="#close">close()</a></code></p>
85<p class="firstline">Close httplib2 connections.</p>
86<p class="toc_element">
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -040087 <code><a href="#delete">delete(project, sslCertificate, requestId=None)</a></code></p>
Sai Cheemalapatidf613972016-10-21 13:59:49 -070088<p class="firstline">Deletes the specified SslCertificate resource.</p>
89<p class="toc_element">
90 <code><a href="#get">get(project, sslCertificate)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070091<p class="firstline">Returns the specified SslCertificate resource. Gets a list of available SSL certificates by making a list() request.</p>
Sai Cheemalapatidf613972016-10-21 13:59:49 -070092<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -070093 <code><a href="#insert">insert(project, body=None, requestId=None)</a></code></p>
Sai Cheemalapatidf613972016-10-21 13:59:49 -070094<p class="firstline">Creates a SslCertificate resource in the specified project using the data included in the request.</p>
95<p class="toc_element">
Bu Sun Kim65020912020-05-20 12:08:20 -070096 <code><a href="#list">list(project, filter=None, maxResults=None, orderBy=None, pageToken=None, returnPartialSuccess=None)</a></code></p>
Sai Cheemalapatidf613972016-10-21 13:59:49 -070097<p class="firstline">Retrieves the list of SslCertificate resources available to the specified project.</p>
98<p class="toc_element">
99 <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
100<p class="firstline">Retrieves the next page of results.</p>
101<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -0700102 <code><a href="#testIamPermissions">testIamPermissions(project, resource, body=None)</a></code></p>
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700103<p class="firstline">Returns permissions that a caller has on the specified resource.</p>
104<h3>Method Details</h3>
105<div class="method">
Bu Sun Kim65020912020-05-20 12:08:20 -0700106 <code class="details" id="aggregatedList">aggregatedList(project, filter=None, includeAllScopes=None, maxResults=None, orderBy=None, pageToken=None, returnPartialSuccess=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700107 <pre>Retrieves the list of all SslCertificate resources, regional and global, available to the specified project.
108
109Args:
110 project: string, Name of the project scoping this request. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700111 filter: string, A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either `=`, `!=`, `&gt;`, or `&lt;`.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700112
Dan O'Mearadd494642020-05-01 07:42:23 -0700113For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700114
Dan O'Mearadd494642020-05-01 07:42:23 -0700115You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700116
Bu Sun Kim65020912020-05-20 12:08:20 -0700117To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = &quot;Intel Skylake&quot;) ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = &quot;Intel Skylake&quot;) OR (cpuPlatform = &quot;Intel Broadwell&quot;) AND (scheduling.automaticRestart = true) ```
Dan O'Mearadd494642020-05-01 07:42:23 -0700118 includeAllScopes: boolean, Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included.
Bu Sun Kim65020912020-05-20 12:08:20 -0700119 maxResults: integer, The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
120 orderBy: string, Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.
121
122You can also sort results in descending order based on the creation timestamp using `orderBy=&quot;creationTimestamp desc&quot;`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.
123
124Currently, only sorting by `name` or `creationTimestamp desc` is supported.
125 pageToken: string, Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
126 returnPartialSuccess: boolean, Opt-in for partial success behavior which provides partial results in case of failure. The default value is false and the logic is the same as today.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700127
128Returns:
129 An object of the form:
130
131 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700132 &quot;id&quot;: &quot;A String&quot;, # [Output Only] Unique identifier for the resource; defined by the server.
133 &quot;items&quot;: { # A list of SslCertificatesScopedList resources.
134 &quot;a_key&quot;: { # Name of the scope containing this set of SslCertificates.
135 &quot;sslCertificates&quot;: [ # List of SslCertificates contained in this scope.
136 { # Represents an SSL Certificate resource.
137 #
138 # Google Compute Engine has two SSL Certificate resources:
139 #
140 # * [Global](/compute/docs/reference/rest/{$api_version}/sslCertificates) * [Regional](/compute/docs/reference/rest/{$api_version}/regionSslCertificates)
141 #
142 #
143 #
144 # The sslCertificates are used by:
145 # - external HTTPS load balancers
146 # - SSL proxy load balancers
147 #
148 # The regionSslCertificates are used by internal HTTPS load balancers.
149 #
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700150 # Optionally, certificate file contents that you upload can contain a set of up to five PEM-encoded certificates. The API call creates an object (sslCertificate) that holds this data. You can use SSL keys and certificates to secure connections to a load balancer. For more information, read Creating and using SSL certificates, SSL certificates quotas and limits, and Troubleshooting SSL certificates. (== resource_for {$api_version}.sslCertificates ==) (== resource_for {$api_version}.regionSslCertificates ==)
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700151 &quot;certificate&quot;: &quot;A String&quot;, # A value read into memory from a certificate file. The certificate file must be in PEM format. The certificate chain must be no greater than 5 certs long. The chain must include at least one intermediate cert.
Bu Sun Kim65020912020-05-20 12:08:20 -0700152 &quot;creationTimestamp&quot;: &quot;A String&quot;, # [Output Only] Creation timestamp in RFC3339 text format.
153 &quot;description&quot;: &quot;A String&quot;, # An optional description of this resource. Provide this property when you create the resource.
154 &quot;expireTime&quot;: &quot;A String&quot;, # [Output Only] Expire time of the certificate. RFC3339
155 &quot;id&quot;: &quot;A String&quot;, # [Output Only] The unique identifier for the resource. This identifier is defined by the server.
156 &quot;kind&quot;: &quot;compute#sslCertificate&quot;, # [Output Only] Type of the resource. Always compute#sslCertificate for SSL certificates.
157 &quot;managed&quot;: { # Configuration and status of a managed SSL certificate. # Configuration and status of a managed SSL certificate.
158 &quot;domainStatus&quot;: { # [Output only] Detailed statuses of the domains specified for managed certificate resource.
159 &quot;a_key&quot;: &quot;A String&quot;,
160 },
161 &quot;domains&quot;: [ # The domains for which a managed SSL certificate will be generated. Currently only single-domain certs are supported.
162 &quot;A String&quot;,
163 ],
164 &quot;status&quot;: &quot;A String&quot;, # [Output only] Status of the managed certificate resource.
165 },
166 &quot;name&quot;: &quot;A String&quot;, # Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700167 &quot;privateKey&quot;: &quot;A String&quot;, # A value read into memory from a write-only private key file. The private key file must be in PEM format. For security, only insert requests include this field.
Bu Sun Kim65020912020-05-20 12:08:20 -0700168 &quot;region&quot;: &quot;A String&quot;, # [Output Only] URL of the region where the regional SSL Certificate resides. This field is not applicable to global SSL Certificate.
169 &quot;selfLink&quot;: &quot;A String&quot;, # [Output only] Server-defined URL for the resource.
170 &quot;selfLinkWithId&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for this resource with the resource id.
171 &quot;selfManaged&quot;: { # Configuration and status of a self-managed SSL certificate. # Configuration and status of a self-managed SSL certificate.
172 &quot;certificate&quot;: &quot;A String&quot;, # A local certificate file. The certificate must be in PEM format. The certificate chain must be no greater than 5 certs long. The chain must include at least one intermediate cert.
173 &quot;privateKey&quot;: &quot;A String&quot;, # A write-only private key in PEM format. Only insert requests will include this field.
174 },
175 &quot;subjectAlternativeNames&quot;: [ # [Output Only] Domains associated with the certificate via Subject Alternative Name.
176 &quot;A String&quot;,
177 ],
178 &quot;type&quot;: &quot;A String&quot;, # (Optional) Specifies the type of SSL certificate, either &quot;SELF_MANAGED&quot; or &quot;MANAGED&quot;. If not specified, the certificate is self-managed and the fields certificate and private_key are used.
179 },
180 ],
181 &quot;warning&quot;: { # Informational warning which replaces the list of backend services when the list is empty.
182 &quot;code&quot;: &quot;A String&quot;, # [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.
183 &quot;data&quot;: [ # [Output Only] Metadata about this warning in key: value format. For example:
184 # &quot;data&quot;: [ { &quot;key&quot;: &quot;scope&quot;, &quot;value&quot;: &quot;zones/us-east1-d&quot; }
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700185 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700186 &quot;key&quot;: &quot;A String&quot;, # [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).
187 &quot;value&quot;: &quot;A String&quot;, # [Output Only] A warning data value corresponding to the key.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700188 },
189 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700190 &quot;message&quot;: &quot;A String&quot;, # [Output Only] A human-readable description of the warning code.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700191 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700192 },
193 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700194 &quot;kind&quot;: &quot;compute#sslCertificateAggregatedList&quot;, # [Output Only] Type of resource. Always compute#sslCertificateAggregatedList for lists of SSL Certificates.
195 &quot;nextPageToken&quot;: &quot;A String&quot;, # [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
196 &quot;selfLink&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for this resource.
197 &quot;unreachables&quot;: [ # [Output Only] Unreachable resources.
198 &quot;A String&quot;,
199 ],
200 &quot;warning&quot;: { # [Output Only] Informational warning message.
201 &quot;code&quot;: &quot;A String&quot;, # [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.
202 &quot;data&quot;: [ # [Output Only] Metadata about this warning in key: value format. For example:
203 # &quot;data&quot;: [ { &quot;key&quot;: &quot;scope&quot;, &quot;value&quot;: &quot;zones/us-east1-d&quot; }
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700204 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700205 &quot;key&quot;: &quot;A String&quot;, # [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).
206 &quot;value&quot;: &quot;A String&quot;, # [Output Only] A warning data value corresponding to the key.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700207 },
208 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700209 &quot;message&quot;: &quot;A String&quot;, # [Output Only] A human-readable description of the warning code.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700210 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700211 }</pre>
212</div>
213
214<div class="method">
215 <code class="details" id="aggregatedList_next">aggregatedList_next(previous_request, previous_response)</code>
216 <pre>Retrieves the next page of results.
217
218Args:
219 previous_request: The request for the previous page. (required)
220 previous_response: The response from the request for the previous page. (required)
221
222Returns:
Bu Sun Kim65020912020-05-20 12:08:20 -0700223 A request object that you can call &#x27;execute()&#x27; on to request the next
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700224 page. Returns None if there are no more items in the collection.
225 </pre>
226</div>
227
228<div class="method">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700229 <code class="details" id="close">close()</code>
230 <pre>Close httplib2 connections.</pre>
231</div>
232
233<div class="method">
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400234 <code class="details" id="delete">delete(project, sslCertificate, requestId=None)</code>
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700235 <pre>Deletes the specified SslCertificate resource.
236
237Args:
238 project: string, Project ID for this request. (required)
239 sslCertificate: string, Name of the SslCertificate resource to delete. (required)
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700240 requestId: string, An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
241
242For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
243
244The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700245
246Returns:
247 An object of the form:
248
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700249 { # Represents an Operation resource.
250 #
Dan O'Mearadd494642020-05-01 07:42:23 -0700251 # Google Compute Engine has three Operation resources:
252 #
253 # * [Global](/compute/docs/reference/rest/{$api_version}/globalOperations) * [Regional](/compute/docs/reference/rest/{$api_version}/regionOperations) * [Zonal](/compute/docs/reference/rest/{$api_version}/zoneOperations)
254 #
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700255 # You can use an operation resource to manage asynchronous API requests. For more information, read Handling API responses.
256 #
257 # Operations can be global, regional or zonal.
Dan O'Mearadd494642020-05-01 07:42:23 -0700258 # - For global operations, use the `globalOperations` resource.
259 # - For regional operations, use the `regionOperations` resource.
260 # - For zonal operations, use the `zonalOperations` resource.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700261 #
Dan O'Mearadd494642020-05-01 07:42:23 -0700262 # For more information, read Global, Regional, and Zonal Resources. (== resource_for {$api_version}.globalOperations ==) (== resource_for {$api_version}.regionOperations ==) (== resource_for {$api_version}.zoneOperations ==)
Bu Sun Kim65020912020-05-20 12:08:20 -0700263 &quot;clientOperationId&quot;: &quot;A String&quot;, # [Output Only] The value of `requestId` if you provided it in the request. Not present otherwise.
264 &quot;creationTimestamp&quot;: &quot;A String&quot;, # [Deprecated] This field is deprecated.
265 &quot;description&quot;: &quot;A String&quot;, # [Output Only] A textual description of the operation, which is set when the operation is created.
266 &quot;endTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was completed. This value is in RFC3339 text format.
267 &quot;error&quot;: { # [Output Only] If errors are generated during processing of the operation, this field will be populated.
268 &quot;errors&quot;: [ # [Output Only] The array of errors encountered while processing this operation.
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700269 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700270 &quot;code&quot;: &quot;A String&quot;, # [Output Only] The error type identifier for this error.
271 &quot;location&quot;: &quot;A String&quot;, # [Output Only] Indicates the field in the request that caused the error. This property is optional.
272 &quot;message&quot;: &quot;A String&quot;, # [Output Only] An optional, human-readable error message.
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700273 },
274 ],
275 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700276 &quot;httpErrorMessage&quot;: &quot;A String&quot;, # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as `NOT FOUND`.
277 &quot;httpErrorStatusCode&quot;: 42, # [Output Only] If the operation fails, this field contains the HTTP error status code that was returned. For example, a `404` means the resource was not found.
278 &quot;id&quot;: &quot;A String&quot;, # [Output Only] The unique identifier for the operation. This identifier is defined by the server.
279 &quot;insertTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was requested. This value is in RFC3339 text format.
280 &quot;kind&quot;: &quot;compute#operation&quot;, # [Output Only] Type of the resource. Always `compute#operation` for Operation resources.
281 &quot;name&quot;: &quot;A String&quot;, # [Output Only] Name of the operation.
282 &quot;operationType&quot;: &quot;A String&quot;, # [Output Only] The type of operation, such as `insert`, `update`, or `delete`, and so on.
283 &quot;progress&quot;: 42, # [Output Only] An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of operations. This should not be used to guess when the operation will be complete. This number should monotonically increase as the operation progresses.
284 &quot;region&quot;: &quot;A String&quot;, # [Output Only] The URL of the region where the operation resides. Only applicable when performing regional operations.
285 &quot;selfLink&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for the resource.
286 &quot;selfLinkWithId&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for this resource with the resource id.
287 &quot;startTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was started by the server. This value is in RFC3339 text format.
288 &quot;status&quot;: &quot;A String&quot;, # [Output Only] The status of the operation, which can be one of the following: `PENDING`, `RUNNING`, or `DONE`.
289 &quot;statusMessage&quot;: &quot;A String&quot;, # [Output Only] An optional textual description of the current status of the operation.
290 &quot;targetId&quot;: &quot;A String&quot;, # [Output Only] The unique target ID, which identifies a specific incarnation of the target resource.
291 &quot;targetLink&quot;: &quot;A String&quot;, # [Output Only] The URL of the resource that the operation modifies. For operations related to creating a snapshot, this points to the persistent disk that the snapshot was created from.
292 &quot;user&quot;: &quot;A String&quot;, # [Output Only] User who requested the operation, for example: `user@example.com`.
293 &quot;warnings&quot;: [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated.
294 {
295 &quot;code&quot;: &quot;A String&quot;, # [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.
296 &quot;data&quot;: [ # [Output Only] Metadata about this warning in key: value format. For example:
297 # &quot;data&quot;: [ { &quot;key&quot;: &quot;scope&quot;, &quot;value&quot;: &quot;zones/us-east1-d&quot; }
298 {
299 &quot;key&quot;: &quot;A String&quot;, # [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).
300 &quot;value&quot;: &quot;A String&quot;, # [Output Only] A warning data value corresponding to the key.
301 },
302 ],
303 &quot;message&quot;: &quot;A String&quot;, # [Output Only] A human-readable description of the warning code.
304 },
305 ],
306 &quot;zone&quot;: &quot;A String&quot;, # [Output Only] The URL of the zone where the operation resides. Only applicable when performing per-zone operations.
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700307 }</pre>
308</div>
309
310<div class="method">
311 <code class="details" id="get">get(project, sslCertificate)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700312 <pre>Returns the specified SslCertificate resource. Gets a list of available SSL certificates by making a list() request.
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700313
314Args:
315 project: string, Project ID for this request. (required)
316 sslCertificate: string, Name of the SslCertificate resource to return. (required)
317
318Returns:
319 An object of the form:
320
Dan O'Mearadd494642020-05-01 07:42:23 -0700321 { # Represents an SSL Certificate resource.
Bu Sun Kim65020912020-05-20 12:08:20 -0700322 #
323 # Google Compute Engine has two SSL Certificate resources:
324 #
325 # * [Global](/compute/docs/reference/rest/{$api_version}/sslCertificates) * [Regional](/compute/docs/reference/rest/{$api_version}/regionSslCertificates)
326 #
327 #
328 #
329 # The sslCertificates are used by:
330 # - external HTTPS load balancers
331 # - SSL proxy load balancers
332 #
333 # The regionSslCertificates are used by internal HTTPS load balancers.
334 #
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700335 # Optionally, certificate file contents that you upload can contain a set of up to five PEM-encoded certificates. The API call creates an object (sslCertificate) that holds this data. You can use SSL keys and certificates to secure connections to a load balancer. For more information, read Creating and using SSL certificates, SSL certificates quotas and limits, and Troubleshooting SSL certificates. (== resource_for {$api_version}.sslCertificates ==) (== resource_for {$api_version}.regionSslCertificates ==)
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700336 &quot;certificate&quot;: &quot;A String&quot;, # A value read into memory from a certificate file. The certificate file must be in PEM format. The certificate chain must be no greater than 5 certs long. The chain must include at least one intermediate cert.
Bu Sun Kim65020912020-05-20 12:08:20 -0700337 &quot;creationTimestamp&quot;: &quot;A String&quot;, # [Output Only] Creation timestamp in RFC3339 text format.
338 &quot;description&quot;: &quot;A String&quot;, # An optional description of this resource. Provide this property when you create the resource.
339 &quot;expireTime&quot;: &quot;A String&quot;, # [Output Only] Expire time of the certificate. RFC3339
340 &quot;id&quot;: &quot;A String&quot;, # [Output Only] The unique identifier for the resource. This identifier is defined by the server.
341 &quot;kind&quot;: &quot;compute#sslCertificate&quot;, # [Output Only] Type of the resource. Always compute#sslCertificate for SSL certificates.
342 &quot;managed&quot;: { # Configuration and status of a managed SSL certificate. # Configuration and status of a managed SSL certificate.
343 &quot;domainStatus&quot;: { # [Output only] Detailed statuses of the domains specified for managed certificate resource.
344 &quot;a_key&quot;: &quot;A String&quot;,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700345 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700346 &quot;domains&quot;: [ # The domains for which a managed SSL certificate will be generated. Currently only single-domain certs are supported.
347 &quot;A String&quot;,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700348 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700349 &quot;status&quot;: &quot;A String&quot;, # [Output only] Status of the managed certificate resource.
350 },
351 &quot;name&quot;: &quot;A String&quot;, # Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700352 &quot;privateKey&quot;: &quot;A String&quot;, # A value read into memory from a write-only private key file. The private key file must be in PEM format. For security, only insert requests include this field.
Bu Sun Kim65020912020-05-20 12:08:20 -0700353 &quot;region&quot;: &quot;A String&quot;, # [Output Only] URL of the region where the regional SSL Certificate resides. This field is not applicable to global SSL Certificate.
354 &quot;selfLink&quot;: &quot;A String&quot;, # [Output only] Server-defined URL for the resource.
355 &quot;selfLinkWithId&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for this resource with the resource id.
356 &quot;selfManaged&quot;: { # Configuration and status of a self-managed SSL certificate. # Configuration and status of a self-managed SSL certificate.
357 &quot;certificate&quot;: &quot;A String&quot;, # A local certificate file. The certificate must be in PEM format. The certificate chain must be no greater than 5 certs long. The chain must include at least one intermediate cert.
358 &quot;privateKey&quot;: &quot;A String&quot;, # A write-only private key in PEM format. Only insert requests will include this field.
359 },
360 &quot;subjectAlternativeNames&quot;: [ # [Output Only] Domains associated with the certificate via Subject Alternative Name.
361 &quot;A String&quot;,
362 ],
363 &quot;type&quot;: &quot;A String&quot;, # (Optional) Specifies the type of SSL certificate, either &quot;SELF_MANAGED&quot; or &quot;MANAGED&quot;. If not specified, the certificate is self-managed and the fields certificate and private_key are used.
364 }</pre>
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700365</div>
366
367<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -0700368 <code class="details" id="insert">insert(project, body=None, requestId=None)</code>
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700369 <pre>Creates a SslCertificate resource in the specified project using the data included in the request.
370
371Args:
372 project: string, Project ID for this request. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700373 body: object, The request body.
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700374 The object takes the form of:
375
Dan O'Mearadd494642020-05-01 07:42:23 -0700376{ # Represents an SSL Certificate resource.
Bu Sun Kim65020912020-05-20 12:08:20 -0700377 #
378 # Google Compute Engine has two SSL Certificate resources:
379 #
380 # * [Global](/compute/docs/reference/rest/{$api_version}/sslCertificates) * [Regional](/compute/docs/reference/rest/{$api_version}/regionSslCertificates)
381 #
382 #
383 #
384 # The sslCertificates are used by:
385 # - external HTTPS load balancers
386 # - SSL proxy load balancers
387 #
388 # The regionSslCertificates are used by internal HTTPS load balancers.
389 #
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700390 # Optionally, certificate file contents that you upload can contain a set of up to five PEM-encoded certificates. The API call creates an object (sslCertificate) that holds this data. You can use SSL keys and certificates to secure connections to a load balancer. For more information, read Creating and using SSL certificates, SSL certificates quotas and limits, and Troubleshooting SSL certificates. (== resource_for {$api_version}.sslCertificates ==) (== resource_for {$api_version}.regionSslCertificates ==)
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700391 &quot;certificate&quot;: &quot;A String&quot;, # A value read into memory from a certificate file. The certificate file must be in PEM format. The certificate chain must be no greater than 5 certs long. The chain must include at least one intermediate cert.
Bu Sun Kim65020912020-05-20 12:08:20 -0700392 &quot;creationTimestamp&quot;: &quot;A String&quot;, # [Output Only] Creation timestamp in RFC3339 text format.
393 &quot;description&quot;: &quot;A String&quot;, # An optional description of this resource. Provide this property when you create the resource.
394 &quot;expireTime&quot;: &quot;A String&quot;, # [Output Only] Expire time of the certificate. RFC3339
395 &quot;id&quot;: &quot;A String&quot;, # [Output Only] The unique identifier for the resource. This identifier is defined by the server.
396 &quot;kind&quot;: &quot;compute#sslCertificate&quot;, # [Output Only] Type of the resource. Always compute#sslCertificate for SSL certificates.
397 &quot;managed&quot;: { # Configuration and status of a managed SSL certificate. # Configuration and status of a managed SSL certificate.
398 &quot;domainStatus&quot;: { # [Output only] Detailed statuses of the domains specified for managed certificate resource.
399 &quot;a_key&quot;: &quot;A String&quot;,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700400 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700401 &quot;domains&quot;: [ # The domains for which a managed SSL certificate will be generated. Currently only single-domain certs are supported.
402 &quot;A String&quot;,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700403 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700404 &quot;status&quot;: &quot;A String&quot;, # [Output only] Status of the managed certificate resource.
405 },
406 &quot;name&quot;: &quot;A String&quot;, # Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700407 &quot;privateKey&quot;: &quot;A String&quot;, # A value read into memory from a write-only private key file. The private key file must be in PEM format. For security, only insert requests include this field.
Bu Sun Kim65020912020-05-20 12:08:20 -0700408 &quot;region&quot;: &quot;A String&quot;, # [Output Only] URL of the region where the regional SSL Certificate resides. This field is not applicable to global SSL Certificate.
409 &quot;selfLink&quot;: &quot;A String&quot;, # [Output only] Server-defined URL for the resource.
410 &quot;selfLinkWithId&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for this resource with the resource id.
411 &quot;selfManaged&quot;: { # Configuration and status of a self-managed SSL certificate. # Configuration and status of a self-managed SSL certificate.
412 &quot;certificate&quot;: &quot;A String&quot;, # A local certificate file. The certificate must be in PEM format. The certificate chain must be no greater than 5 certs long. The chain must include at least one intermediate cert.
413 &quot;privateKey&quot;: &quot;A String&quot;, # A write-only private key in PEM format. Only insert requests will include this field.
414 },
415 &quot;subjectAlternativeNames&quot;: [ # [Output Only] Domains associated with the certificate via Subject Alternative Name.
416 &quot;A String&quot;,
417 ],
418 &quot;type&quot;: &quot;A String&quot;, # (Optional) Specifies the type of SSL certificate, either &quot;SELF_MANAGED&quot; or &quot;MANAGED&quot;. If not specified, the certificate is self-managed and the fields certificate and private_key are used.
419}
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700420
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700421 requestId: string, An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
422
423For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
424
425The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700426
427Returns:
428 An object of the form:
429
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700430 { # Represents an Operation resource.
431 #
Dan O'Mearadd494642020-05-01 07:42:23 -0700432 # Google Compute Engine has three Operation resources:
433 #
434 # * [Global](/compute/docs/reference/rest/{$api_version}/globalOperations) * [Regional](/compute/docs/reference/rest/{$api_version}/regionOperations) * [Zonal](/compute/docs/reference/rest/{$api_version}/zoneOperations)
435 #
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700436 # You can use an operation resource to manage asynchronous API requests. For more information, read Handling API responses.
437 #
438 # Operations can be global, regional or zonal.
Dan O'Mearadd494642020-05-01 07:42:23 -0700439 # - For global operations, use the `globalOperations` resource.
440 # - For regional operations, use the `regionOperations` resource.
441 # - For zonal operations, use the `zonalOperations` resource.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700442 #
Dan O'Mearadd494642020-05-01 07:42:23 -0700443 # For more information, read Global, Regional, and Zonal Resources. (== resource_for {$api_version}.globalOperations ==) (== resource_for {$api_version}.regionOperations ==) (== resource_for {$api_version}.zoneOperations ==)
Bu Sun Kim65020912020-05-20 12:08:20 -0700444 &quot;clientOperationId&quot;: &quot;A String&quot;, # [Output Only] The value of `requestId` if you provided it in the request. Not present otherwise.
445 &quot;creationTimestamp&quot;: &quot;A String&quot;, # [Deprecated] This field is deprecated.
446 &quot;description&quot;: &quot;A String&quot;, # [Output Only] A textual description of the operation, which is set when the operation is created.
447 &quot;endTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was completed. This value is in RFC3339 text format.
448 &quot;error&quot;: { # [Output Only] If errors are generated during processing of the operation, this field will be populated.
449 &quot;errors&quot;: [ # [Output Only] The array of errors encountered while processing this operation.
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700450 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700451 &quot;code&quot;: &quot;A String&quot;, # [Output Only] The error type identifier for this error.
452 &quot;location&quot;: &quot;A String&quot;, # [Output Only] Indicates the field in the request that caused the error. This property is optional.
453 &quot;message&quot;: &quot;A String&quot;, # [Output Only] An optional, human-readable error message.
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700454 },
455 ],
456 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700457 &quot;httpErrorMessage&quot;: &quot;A String&quot;, # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as `NOT FOUND`.
458 &quot;httpErrorStatusCode&quot;: 42, # [Output Only] If the operation fails, this field contains the HTTP error status code that was returned. For example, a `404` means the resource was not found.
459 &quot;id&quot;: &quot;A String&quot;, # [Output Only] The unique identifier for the operation. This identifier is defined by the server.
460 &quot;insertTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was requested. This value is in RFC3339 text format.
461 &quot;kind&quot;: &quot;compute#operation&quot;, # [Output Only] Type of the resource. Always `compute#operation` for Operation resources.
462 &quot;name&quot;: &quot;A String&quot;, # [Output Only] Name of the operation.
463 &quot;operationType&quot;: &quot;A String&quot;, # [Output Only] The type of operation, such as `insert`, `update`, or `delete`, and so on.
464 &quot;progress&quot;: 42, # [Output Only] An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of operations. This should not be used to guess when the operation will be complete. This number should monotonically increase as the operation progresses.
465 &quot;region&quot;: &quot;A String&quot;, # [Output Only] The URL of the region where the operation resides. Only applicable when performing regional operations.
466 &quot;selfLink&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for the resource.
467 &quot;selfLinkWithId&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for this resource with the resource id.
468 &quot;startTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was started by the server. This value is in RFC3339 text format.
469 &quot;status&quot;: &quot;A String&quot;, # [Output Only] The status of the operation, which can be one of the following: `PENDING`, `RUNNING`, or `DONE`.
470 &quot;statusMessage&quot;: &quot;A String&quot;, # [Output Only] An optional textual description of the current status of the operation.
471 &quot;targetId&quot;: &quot;A String&quot;, # [Output Only] The unique target ID, which identifies a specific incarnation of the target resource.
472 &quot;targetLink&quot;: &quot;A String&quot;, # [Output Only] The URL of the resource that the operation modifies. For operations related to creating a snapshot, this points to the persistent disk that the snapshot was created from.
473 &quot;user&quot;: &quot;A String&quot;, # [Output Only] User who requested the operation, for example: `user@example.com`.
474 &quot;warnings&quot;: [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated.
475 {
476 &quot;code&quot;: &quot;A String&quot;, # [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.
477 &quot;data&quot;: [ # [Output Only] Metadata about this warning in key: value format. For example:
478 # &quot;data&quot;: [ { &quot;key&quot;: &quot;scope&quot;, &quot;value&quot;: &quot;zones/us-east1-d&quot; }
479 {
480 &quot;key&quot;: &quot;A String&quot;, # [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).
481 &quot;value&quot;: &quot;A String&quot;, # [Output Only] A warning data value corresponding to the key.
482 },
483 ],
484 &quot;message&quot;: &quot;A String&quot;, # [Output Only] A human-readable description of the warning code.
485 },
486 ],
487 &quot;zone&quot;: &quot;A String&quot;, # [Output Only] The URL of the zone where the operation resides. Only applicable when performing per-zone operations.
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700488 }</pre>
489</div>
490
491<div class="method">
Bu Sun Kim65020912020-05-20 12:08:20 -0700492 <code class="details" id="list">list(project, filter=None, maxResults=None, orderBy=None, pageToken=None, returnPartialSuccess=None)</code>
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700493 <pre>Retrieves the list of SslCertificate resources available to the specified project.
494
495Args:
496 project: string, Project ID for this request. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700497 filter: string, A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either `=`, `!=`, `&gt;`, or `&lt;`.
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700498
Dan O'Mearadd494642020-05-01 07:42:23 -0700499For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`.
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700500
Dan O'Mearadd494642020-05-01 07:42:23 -0700501You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700502
Bu Sun Kim65020912020-05-20 12:08:20 -0700503To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = &quot;Intel Skylake&quot;) ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = &quot;Intel Skylake&quot;) OR (cpuPlatform = &quot;Intel Broadwell&quot;) AND (scheduling.automaticRestart = true) ```
504 maxResults: integer, The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
505 orderBy: string, Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.
506
507You can also sort results in descending order based on the creation timestamp using `orderBy=&quot;creationTimestamp desc&quot;`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.
508
509Currently, only sorting by `name` or `creationTimestamp desc` is supported.
510 pageToken: string, Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
511 returnPartialSuccess: boolean, Opt-in for partial success behavior which provides partial results in case of failure. The default value is false and the logic is the same as today.
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700512
513Returns:
514 An object of the form:
515
516 { # Contains a list of SslCertificate resources.
Bu Sun Kim65020912020-05-20 12:08:20 -0700517 &quot;id&quot;: &quot;A String&quot;, # [Output Only] Unique identifier for the resource; defined by the server.
518 &quot;items&quot;: [ # A list of SslCertificate resources.
Dan O'Mearadd494642020-05-01 07:42:23 -0700519 { # Represents an SSL Certificate resource.
Bu Sun Kim65020912020-05-20 12:08:20 -0700520 #
521 # Google Compute Engine has two SSL Certificate resources:
522 #
523 # * [Global](/compute/docs/reference/rest/{$api_version}/sslCertificates) * [Regional](/compute/docs/reference/rest/{$api_version}/regionSslCertificates)
524 #
525 #
526 #
527 # The sslCertificates are used by:
528 # - external HTTPS load balancers
529 # - SSL proxy load balancers
530 #
531 # The regionSslCertificates are used by internal HTTPS load balancers.
532 #
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700533 # Optionally, certificate file contents that you upload can contain a set of up to five PEM-encoded certificates. The API call creates an object (sslCertificate) that holds this data. You can use SSL keys and certificates to secure connections to a load balancer. For more information, read Creating and using SSL certificates, SSL certificates quotas and limits, and Troubleshooting SSL certificates. (== resource_for {$api_version}.sslCertificates ==) (== resource_for {$api_version}.regionSslCertificates ==)
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700534 &quot;certificate&quot;: &quot;A String&quot;, # A value read into memory from a certificate file. The certificate file must be in PEM format. The certificate chain must be no greater than 5 certs long. The chain must include at least one intermediate cert.
Bu Sun Kim65020912020-05-20 12:08:20 -0700535 &quot;creationTimestamp&quot;: &quot;A String&quot;, # [Output Only] Creation timestamp in RFC3339 text format.
536 &quot;description&quot;: &quot;A String&quot;, # An optional description of this resource. Provide this property when you create the resource.
537 &quot;expireTime&quot;: &quot;A String&quot;, # [Output Only] Expire time of the certificate. RFC3339
538 &quot;id&quot;: &quot;A String&quot;, # [Output Only] The unique identifier for the resource. This identifier is defined by the server.
539 &quot;kind&quot;: &quot;compute#sslCertificate&quot;, # [Output Only] Type of the resource. Always compute#sslCertificate for SSL certificates.
540 &quot;managed&quot;: { # Configuration and status of a managed SSL certificate. # Configuration and status of a managed SSL certificate.
541 &quot;domainStatus&quot;: { # [Output only] Detailed statuses of the domains specified for managed certificate resource.
542 &quot;a_key&quot;: &quot;A String&quot;,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700543 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700544 &quot;domains&quot;: [ # The domains for which a managed SSL certificate will be generated. Currently only single-domain certs are supported.
545 &quot;A String&quot;,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700546 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700547 &quot;status&quot;: &quot;A String&quot;, # [Output only] Status of the managed certificate resource.
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700548 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700549 &quot;name&quot;: &quot;A String&quot;, # Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700550 &quot;privateKey&quot;: &quot;A String&quot;, # A value read into memory from a write-only private key file. The private key file must be in PEM format. For security, only insert requests include this field.
Bu Sun Kim65020912020-05-20 12:08:20 -0700551 &quot;region&quot;: &quot;A String&quot;, # [Output Only] URL of the region where the regional SSL Certificate resides. This field is not applicable to global SSL Certificate.
552 &quot;selfLink&quot;: &quot;A String&quot;, # [Output only] Server-defined URL for the resource.
553 &quot;selfLinkWithId&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for this resource with the resource id.
554 &quot;selfManaged&quot;: { # Configuration and status of a self-managed SSL certificate. # Configuration and status of a self-managed SSL certificate.
555 &quot;certificate&quot;: &quot;A String&quot;, # A local certificate file. The certificate must be in PEM format. The certificate chain must be no greater than 5 certs long. The chain must include at least one intermediate cert.
556 &quot;privateKey&quot;: &quot;A String&quot;, # A write-only private key in PEM format. Only insert requests will include this field.
557 },
558 &quot;subjectAlternativeNames&quot;: [ # [Output Only] Domains associated with the certificate via Subject Alternative Name.
559 &quot;A String&quot;,
560 ],
561 &quot;type&quot;: &quot;A String&quot;, # (Optional) Specifies the type of SSL certificate, either &quot;SELF_MANAGED&quot; or &quot;MANAGED&quot;. If not specified, the certificate is self-managed and the fields certificate and private_key are used.
562 },
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700563 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700564 &quot;kind&quot;: &quot;compute#sslCertificateList&quot;, # Type of resource.
565 &quot;nextPageToken&quot;: &quot;A String&quot;, # [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
566 &quot;selfLink&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for this resource.
567 &quot;warning&quot;: { # [Output Only] Informational warning message.
568 &quot;code&quot;: &quot;A String&quot;, # [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.
569 &quot;data&quot;: [ # [Output Only] Metadata about this warning in key: value format. For example:
570 # &quot;data&quot;: [ { &quot;key&quot;: &quot;scope&quot;, &quot;value&quot;: &quot;zones/us-east1-d&quot; }
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700571 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700572 &quot;key&quot;: &quot;A String&quot;, # [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).
573 &quot;value&quot;: &quot;A String&quot;, # [Output Only] A warning data value corresponding to the key.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700574 },
575 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700576 &quot;message&quot;: &quot;A String&quot;, # [Output Only] A human-readable description of the warning code.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700577 },
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700578 }</pre>
579</div>
580
581<div class="method">
582 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
583 <pre>Retrieves the next page of results.
584
585Args:
586 previous_request: The request for the previous page. (required)
587 previous_response: The response from the request for the previous page. (required)
588
589Returns:
Bu Sun Kim65020912020-05-20 12:08:20 -0700590 A request object that you can call &#x27;execute()&#x27; on to request the next
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700591 page. Returns None if there are no more items in the collection.
592 </pre>
593</div>
594
595<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -0700596 <code class="details" id="testIamPermissions">testIamPermissions(project, resource, body=None)</code>
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700597 <pre>Returns permissions that a caller has on the specified resource.
598
599Args:
600 project: string, Project ID for this request. (required)
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700601 resource: string, Name or id of the resource for this request. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700602 body: object, The request body.
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700603 The object takes the form of:
604
605{
Bu Sun Kim65020912020-05-20 12:08:20 -0700606 &quot;permissions&quot;: [ # The set of permissions to check for the &#x27;resource&#x27;. Permissions with wildcards (such as &#x27;*&#x27; or &#x27;storage.*&#x27;) are not allowed.
607 &quot;A String&quot;,
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700608 ],
609 }
610
611
612Returns:
613 An object of the form:
614
615 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700616 &quot;permissions&quot;: [ # A subset of `TestPermissionsRequest.permissions` that the caller is allowed.
617 &quot;A String&quot;,
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700618 ],
619 }</pre>
620</div>
621
622</body></html>