1<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_beta.html">Compute Engine API</a> . <a href="compute_beta.sslPolicies.html">sslPolicies</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
78  <code><a href="#delete">delete(project, sslPolicy, requestId=None)</a></code></p>
79<p class="firstline">Deletes the specified SSL policy. The SSL policy resource can be deleted only if it is not in use by any TargetHttpsProxy or TargetSslProxy resources.</p>
80<p class="toc_element">
81  <code><a href="#get">get(project, sslPolicy)</a></code></p>
82<p class="firstline">Lists all of the ordered rules present in a single specified policy.</p>
83<p class="toc_element">
84  <code><a href="#insert">insert(project, body, requestId=None)</a></code></p>
85<p class="firstline">Returns the specified SSL policy resource. Gets a list of available SSL policies by making a list() request.</p>
86<p class="toc_element">
87  <code><a href="#list">list(project, orderBy=None, maxResults=None, pageToken=None, filter=None)</a></code></p>
88<p class="firstline">Lists all the SSL policies that have been configured for the specified project.</p>
89<p class="toc_element">
90  <code><a href="#listAvailableFeatures">listAvailableFeatures(project, orderBy=None, maxResults=None, pageToken=None, filter=None)</a></code></p>
91<p class="firstline">Lists all features that can be specified in the SSL policy when using custom profile.</p>
92<p class="toc_element">
93  <code><a href="#list_next">list_next(previous_request, previous_response)</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(project, sslPolicy, body, requestId=None)</a></code></p>
97<p class="firstline">Patches the specified SSL policy with the data included in the request.</p>
98<p class="toc_element">
99  <code><a href="#testIamPermissions">testIamPermissions(project, resource, body)</a></code></p>
100<p class="firstline">Returns permissions that a caller has on the specified resource.</p>
101<h3>Method Details</h3>
102<div class="method">
103    <code class="details" id="delete">delete(project, sslPolicy, requestId=None)</code>
104  <pre>Deletes the specified SSL policy. The SSL policy resource can be deleted only if it is not in use by any TargetHttpsProxy or TargetSslProxy resources.
105
106Args:
107  project: string, Project ID for this request. (required)
108  sslPolicy: string, Name of the SSL policy to delete. The name must be 1-63 characters long, and comply with RFC1035. (required)
109  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.
110
111For 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.
112
113The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
114
115Returns:
116  An object of the form:
117
118    { # Represents an Operation resource.
119      #
120      # You can use an operation resource to manage asynchronous API requests. For more information, read Handling API responses.
121      #
122      # Operations can be global, regional or zonal.
123      # - For global operations, use the globalOperations resource.
124      # - For regional operations, use the regionOperations resource.
125      # - For zonal operations, use the zonalOperations resource.
126      #
127      # For more information, read  Global, Regional, and Zonal Resources. (== resource_for v1.globalOperations ==) (== resource_for beta.globalOperations ==) (== resource_for v1.regionOperations ==) (== resource_for beta.regionOperations ==) (== resource_for v1.zoneOperations ==) (== resource_for beta.zoneOperations ==)
128    "targetId": "A String", # [Output Only] The unique target ID, which identifies a specific incarnation of the target resource.
129    "clientOperationId": "A String", # [Output Only] The value of `requestId` if you provided it in the request. Not present otherwise.
130    "creationTimestamp": "A String", # [Deprecated] This field is deprecated.
131    "id": "A String", # [Output Only] The unique identifier for the resource. This identifier is defined by the server.
132    "zone": "A String", # [Output Only] The URL of the zone where the operation resides. Only applicable when performing per-zone operations.
133    "insertTime": "A String", # [Output Only] The time that this operation was requested. This value is in RFC3339 text format.
134    "operationType": "A String", # [Output Only] The type of operation, such as insert, update, or delete, and so on.
135    "httpErrorMessage": "A String", # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as NOT FOUND.
136    "progress": 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.
137    "httpErrorStatusCode": 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.
138    "statusMessage": "A String", # [Output Only] An optional textual description of the current status of the operation.
139    "status": "A String", # [Output Only] The status of the operation, which can be one of the following: PENDING, RUNNING, or DONE.
140    "description": "A String", # [Output Only] A textual description of the operation, which is set when the operation is created.
141    "warnings": [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated.
142      {
143        "message": "A String", # [Output Only] A human-readable description of the warning code.
144        "code": "A String", # [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.
145        "data": [ # [Output Only] Metadata about this warning in key: value format. For example:
146            # "data": [ { "key": "scope", "value": "zones/us-east1-d" }
147          {
148            "value": "A String", # [Output Only] A warning data value corresponding to the key.
149            "key": "A String", # [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).
150          },
151        ],
152      },
153    ],
154    "user": "A String", # [Output Only] User who requested the operation, for example: user@example.com.
155    "startTime": "A String", # [Output Only] The time that this operation was started by the server. This value is in RFC3339 text format.
156    "kind": "compute#operation", # [Output Only] Type of the resource. Always compute#operation for Operation resources.
157    "name": "A String", # [Output Only] Name of the resource.
158    "region": "A String", # [Output Only] The URL of the region where the operation resides. Only applicable when performing regional operations.
159    "error": { # [Output Only] If errors are generated during processing of the operation, this field will be populated.
160      "errors": [ # [Output Only] The array of errors encountered while processing this operation.
161        {
162          "message": "A String", # [Output Only] An optional, human-readable error message.
163          "code": "A String", # [Output Only] The error type identifier for this error.
164          "location": "A String", # [Output Only] Indicates the field in the request that caused the error. This property is optional.
165        },
166      ],
167    },
168    "endTime": "A String", # [Output Only] The time that this operation was completed. This value is in RFC3339 text format.
169    "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
170    "targetLink": "A String", # [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.
171  }</pre>
172</div>
173
174<div class="method">
175    <code class="details" id="get">get(project, sslPolicy)</code>
176  <pre>Lists all of the ordered rules present in a single specified policy.
177
178Args:
179  project: string, Project ID for this request. (required)
180  sslPolicy: string, Name of the SSL policy to update. The name must be 1-63 characters long, and comply with RFC1035. (required)
181
182Returns:
183  An object of the form:
184
185    { # A SSL policy specifies the server-side support for SSL features. This can be attached to a TargetHttpsProxy or a TargetSslProxy. This affects connections between clients and the HTTPS or SSL proxy load balancer. They do not affect the connection between the load balancers and the backends.
186      "profile": "A String", # Profile specifies the set of SSL features that can be used by the load balancer when negotiating SSL with clients. This can be one of COMPATIBLE, MODERN, RESTRICTED, or CUSTOM. If using CUSTOM, the set of SSL features to enable must be specified in the customFeatures field.
187      "kind": "compute#sslPolicy", # [Output only] Type of the resource. Always compute#sslPolicyfor SSL policies.
188      "description": "A String", # An optional description of this resource. Provide this property when you create the resource.
189      "warnings": [ # [Output Only] If potential misconfigurations are detected for this SSL policy, this field will be populated with warning messages.
190        {
191          "message": "A String", # [Output Only] A human-readable description of the warning code.
192          "code": "A String", # [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.
193          "data": [ # [Output Only] Metadata about this warning in key: value format. For example:
194              # "data": [ { "key": "scope", "value": "zones/us-east1-d" }
195            {
196              "value": "A String", # [Output Only] A warning data value corresponding to the key.
197              "key": "A String", # [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).
198            },
199          ],
200        },
201      ],
202      "minTlsVersion": "A String", # The minimum version of SSL protocol that can be used by the clients to establish a connection with the load balancer. This can be one of TLS_1_0, TLS_1_1, TLS_1_2.
203      "name": "A String", # Name of the resource. 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.
204      "customFeatures": [ # A list of features enabled when the selected profile is CUSTOM. The
205          # - method returns the set of features that can be specified in this list. This field must be empty if the profile is not CUSTOM.
206        "A String",
207      ],
208      "fingerprint": "A String", # Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a SslPolicy. An up-to-date fingerprint must be provided in order to update the SslPolicy, otherwise the request will fail with error 412 conditionNotMet.
209          #
210          # To see the latest fingerprint, make a get() request to retrieve an SslPolicy.
211      "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format.
212      "id": "A String", # [Output Only] The unique identifier for the resource. This identifier is defined by the server.
213      "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
214      "enabledFeatures": [ # [Output Only] The list of features enabled in the SSL policy.
215        "A String",
216      ],
217    }</pre>
218</div>
219
220<div class="method">
221    <code class="details" id="insert">insert(project, body, requestId=None)</code>
222  <pre>Returns the specified SSL policy resource. Gets a list of available SSL policies by making a list() request.
223
224Args:
225  project: string, Project ID for this request. (required)
226  body: object, The request body. (required)
227    The object takes the form of:
228
229{ # A SSL policy specifies the server-side support for SSL features. This can be attached to a TargetHttpsProxy or a TargetSslProxy. This affects connections between clients and the HTTPS or SSL proxy load balancer. They do not affect the connection between the load balancers and the backends.
230    "profile": "A String", # Profile specifies the set of SSL features that can be used by the load balancer when negotiating SSL with clients. This can be one of COMPATIBLE, MODERN, RESTRICTED, or CUSTOM. If using CUSTOM, the set of SSL features to enable must be specified in the customFeatures field.
231    "kind": "compute#sslPolicy", # [Output only] Type of the resource. Always compute#sslPolicyfor SSL policies.
232    "description": "A String", # An optional description of this resource. Provide this property when you create the resource.
233    "warnings": [ # [Output Only] If potential misconfigurations are detected for this SSL policy, this field will be populated with warning messages.
234      {
235        "message": "A String", # [Output Only] A human-readable description of the warning code.
236        "code": "A String", # [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.
237        "data": [ # [Output Only] Metadata about this warning in key: value format. For example:
238            # "data": [ { "key": "scope", "value": "zones/us-east1-d" }
239          {
240            "value": "A String", # [Output Only] A warning data value corresponding to the key.
241            "key": "A String", # [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).
242          },
243        ],
244      },
245    ],
246    "minTlsVersion": "A String", # The minimum version of SSL protocol that can be used by the clients to establish a connection with the load balancer. This can be one of TLS_1_0, TLS_1_1, TLS_1_2.
247    "name": "A String", # Name of the resource. 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.
248    "customFeatures": [ # A list of features enabled when the selected profile is CUSTOM. The
249        # - method returns the set of features that can be specified in this list. This field must be empty if the profile is not CUSTOM.
250      "A String",
251    ],
252    "fingerprint": "A String", # Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a SslPolicy. An up-to-date fingerprint must be provided in order to update the SslPolicy, otherwise the request will fail with error 412 conditionNotMet.
253        #
254        # To see the latest fingerprint, make a get() request to retrieve an SslPolicy.
255    "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format.
256    "id": "A String", # [Output Only] The unique identifier for the resource. This identifier is defined by the server.
257    "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
258    "enabledFeatures": [ # [Output Only] The list of features enabled in the SSL policy.
259      "A String",
260    ],
261  }
262
263  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.
264
265For 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.
266
267The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
268
269Returns:
270  An object of the form:
271
272    { # Represents an Operation resource.
273      #
274      # You can use an operation resource to manage asynchronous API requests. For more information, read Handling API responses.
275      #
276      # Operations can be global, regional or zonal.
277      # - For global operations, use the globalOperations resource.
278      # - For regional operations, use the regionOperations resource.
279      # - For zonal operations, use the zonalOperations resource.
280      #
281      # For more information, read  Global, Regional, and Zonal Resources. (== resource_for v1.globalOperations ==) (== resource_for beta.globalOperations ==) (== resource_for v1.regionOperations ==) (== resource_for beta.regionOperations ==) (== resource_for v1.zoneOperations ==) (== resource_for beta.zoneOperations ==)
282    "targetId": "A String", # [Output Only] The unique target ID, which identifies a specific incarnation of the target resource.
283    "clientOperationId": "A String", # [Output Only] The value of `requestId` if you provided it in the request. Not present otherwise.
284    "creationTimestamp": "A String", # [Deprecated] This field is deprecated.
285    "id": "A String", # [Output Only] The unique identifier for the resource. This identifier is defined by the server.
286    "zone": "A String", # [Output Only] The URL of the zone where the operation resides. Only applicable when performing per-zone operations.
287    "insertTime": "A String", # [Output Only] The time that this operation was requested. This value is in RFC3339 text format.
288    "operationType": "A String", # [Output Only] The type of operation, such as insert, update, or delete, and so on.
289    "httpErrorMessage": "A String", # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as NOT FOUND.
290    "progress": 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.
291    "httpErrorStatusCode": 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.
292    "statusMessage": "A String", # [Output Only] An optional textual description of the current status of the operation.
293    "status": "A String", # [Output Only] The status of the operation, which can be one of the following: PENDING, RUNNING, or DONE.
294    "description": "A String", # [Output Only] A textual description of the operation, which is set when the operation is created.
295    "warnings": [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated.
296      {
297        "message": "A String", # [Output Only] A human-readable description of the warning code.
298        "code": "A String", # [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.
299        "data": [ # [Output Only] Metadata about this warning in key: value format. For example:
300            # "data": [ { "key": "scope", "value": "zones/us-east1-d" }
301          {
302            "value": "A String", # [Output Only] A warning data value corresponding to the key.
303            "key": "A String", # [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).
304          },
305        ],
306      },
307    ],
308    "user": "A String", # [Output Only] User who requested the operation, for example: user@example.com.
309    "startTime": "A String", # [Output Only] The time that this operation was started by the server. This value is in RFC3339 text format.
310    "kind": "compute#operation", # [Output Only] Type of the resource. Always compute#operation for Operation resources.
311    "name": "A String", # [Output Only] Name of the resource.
312    "region": "A String", # [Output Only] The URL of the region where the operation resides. Only applicable when performing regional operations.
313    "error": { # [Output Only] If errors are generated during processing of the operation, this field will be populated.
314      "errors": [ # [Output Only] The array of errors encountered while processing this operation.
315        {
316          "message": "A String", # [Output Only] An optional, human-readable error message.
317          "code": "A String", # [Output Only] The error type identifier for this error.
318          "location": "A String", # [Output Only] Indicates the field in the request that caused the error. This property is optional.
319        },
320      ],
321    },
322    "endTime": "A String", # [Output Only] The time that this operation was completed. This value is in RFC3339 text format.
323    "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
324    "targetLink": "A String", # [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.
325  }</pre>
326</div>
327
328<div class="method">
329    <code class="details" id="list">list(project, orderBy=None, maxResults=None, pageToken=None, filter=None)</code>
330  <pre>Lists all the SSL policies that have been configured for the specified project.
331
332Args:
333  project: string, Project ID for this request. (required)
334  orderBy: string, Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.
335
336You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". 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.
337
338Currently, only sorting by name or creationTimestamp desc is supported.
339  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)
340  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.
341  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 =, !=, >, or <.
342
343For example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.
344
345You 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.
346
347To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true).
348
349Returns:
350  An object of the form:
351
352    {
353    "nextPageToken": "A String", # [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.
354    "kind": "compute#sslPoliciesList", # [Output Only] Type of the resource. Always compute#sslPoliciesList for lists of sslPolicies.
355    "items": [ # A list of SslPolicy resources.
356      { # A SSL policy specifies the server-side support for SSL features. This can be attached to a TargetHttpsProxy or a TargetSslProxy. This affects connections between clients and the HTTPS or SSL proxy load balancer. They do not affect the connection between the load balancers and the backends.
357          "profile": "A String", # Profile specifies the set of SSL features that can be used by the load balancer when negotiating SSL with clients. This can be one of COMPATIBLE, MODERN, RESTRICTED, or CUSTOM. If using CUSTOM, the set of SSL features to enable must be specified in the customFeatures field.
358          "kind": "compute#sslPolicy", # [Output only] Type of the resource. Always compute#sslPolicyfor SSL policies.
359          "description": "A String", # An optional description of this resource. Provide this property when you create the resource.
360          "warnings": [ # [Output Only] If potential misconfigurations are detected for this SSL policy, this field will be populated with warning messages.
361            {
362              "message": "A String", # [Output Only] A human-readable description of the warning code.
363              "code": "A String", # [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.
364              "data": [ # [Output Only] Metadata about this warning in key: value format. For example:
365                  # "data": [ { "key": "scope", "value": "zones/us-east1-d" }
366                {
367                  "value": "A String", # [Output Only] A warning data value corresponding to the key.
368                  "key": "A String", # [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).
369                },
370              ],
371            },
372          ],
373          "minTlsVersion": "A String", # The minimum version of SSL protocol that can be used by the clients to establish a connection with the load balancer. This can be one of TLS_1_0, TLS_1_1, TLS_1_2.
374          "name": "A String", # Name of the resource. 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.
375          "customFeatures": [ # A list of features enabled when the selected profile is CUSTOM. The
376              # - method returns the set of features that can be specified in this list. This field must be empty if the profile is not CUSTOM.
377            "A String",
378          ],
379          "fingerprint": "A String", # Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a SslPolicy. An up-to-date fingerprint must be provided in order to update the SslPolicy, otherwise the request will fail with error 412 conditionNotMet.
380              #
381              # To see the latest fingerprint, make a get() request to retrieve an SslPolicy.
382          "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format.
383          "id": "A String", # [Output Only] The unique identifier for the resource. This identifier is defined by the server.
384          "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
385          "enabledFeatures": [ # [Output Only] The list of features enabled in the SSL policy.
386            "A String",
387          ],
388        },
389    ],
390    "warning": { # [Output Only] Informational warning message.
391      "message": "A String", # [Output Only] A human-readable description of the warning code.
392      "code": "A String", # [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.
393      "data": [ # [Output Only] Metadata about this warning in key: value format. For example:
394          # "data": [ { "key": "scope", "value": "zones/us-east1-d" }
395        {
396          "value": "A String", # [Output Only] A warning data value corresponding to the key.
397          "key": "A String", # [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).
398        },
399      ],
400    },
401    "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server.
402    "selfLink": "A String", # [Output Only] Server-defined URL for this resource.
403  }</pre>
404</div>
405
406<div class="method">
407    <code class="details" id="listAvailableFeatures">listAvailableFeatures(project, orderBy=None, maxResults=None, pageToken=None, filter=None)</code>
408  <pre>Lists all features that can be specified in the SSL policy when using custom profile.
409
410Args:
411  project: string, Project ID for this request. (required)
412  orderBy: string, Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.
413
414You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". 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.
415
416Currently, only sorting by name or creationTimestamp desc is supported.
417  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)
418  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.
419  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 =, !=, >, or <.
420
421For example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.
422
423You 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.
424
425To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true).
426
427Returns:
428  An object of the form:
429
430    {
431    "features": [
432      "A String",
433    ],
434  }</pre>
435</div>
436
437<div class="method">
438    <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
439  <pre>Retrieves the next page of results.
440
441Args:
442  previous_request: The request for the previous page. (required)
443  previous_response: The response from the request for the previous page. (required)
444
445Returns:
446  A request object that you can call 'execute()' on to request the next
447  page. Returns None if there are no more items in the collection.
448    </pre>
449</div>
450
451<div class="method">
452    <code class="details" id="patch">patch(project, sslPolicy, body, requestId=None)</code>
453  <pre>Patches the specified SSL policy with the data included in the request.
454
455Args:
456  project: string, Project ID for this request. (required)
457  sslPolicy: string, Name of the SSL policy to update. The name must be 1-63 characters long, and comply with RFC1035. (required)
458  body: object, The request body. (required)
459    The object takes the form of:
460
461{ # A SSL policy specifies the server-side support for SSL features. This can be attached to a TargetHttpsProxy or a TargetSslProxy. This affects connections between clients and the HTTPS or SSL proxy load balancer. They do not affect the connection between the load balancers and the backends.
462    "profile": "A String", # Profile specifies the set of SSL features that can be used by the load balancer when negotiating SSL with clients. This can be one of COMPATIBLE, MODERN, RESTRICTED, or CUSTOM. If using CUSTOM, the set of SSL features to enable must be specified in the customFeatures field.
463    "kind": "compute#sslPolicy", # [Output only] Type of the resource. Always compute#sslPolicyfor SSL policies.
464    "description": "A String", # An optional description of this resource. Provide this property when you create the resource.
465    "warnings": [ # [Output Only] If potential misconfigurations are detected for this SSL policy, this field will be populated with warning messages.
466      {
467        "message": "A String", # [Output Only] A human-readable description of the warning code.
468        "code": "A String", # [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.
469        "data": [ # [Output Only] Metadata about this warning in key: value format. For example:
470            # "data": [ { "key": "scope", "value": "zones/us-east1-d" }
471          {
472            "value": "A String", # [Output Only] A warning data value corresponding to the key.
473            "key": "A String", # [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).
474          },
475        ],
476      },
477    ],
478    "minTlsVersion": "A String", # The minimum version of SSL protocol that can be used by the clients to establish a connection with the load balancer. This can be one of TLS_1_0, TLS_1_1, TLS_1_2.
479    "name": "A String", # Name of the resource. 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.
480    "customFeatures": [ # A list of features enabled when the selected profile is CUSTOM. The
481        # - method returns the set of features that can be specified in this list. This field must be empty if the profile is not CUSTOM.
482      "A String",
483    ],
484    "fingerprint": "A String", # Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a SslPolicy. An up-to-date fingerprint must be provided in order to update the SslPolicy, otherwise the request will fail with error 412 conditionNotMet.
485        #
486        # To see the latest fingerprint, make a get() request to retrieve an SslPolicy.
487    "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format.
488    "id": "A String", # [Output Only] The unique identifier for the resource. This identifier is defined by the server.
489    "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
490    "enabledFeatures": [ # [Output Only] The list of features enabled in the SSL policy.
491      "A String",
492    ],
493  }
494
495  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.
496
497For 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.
498
499The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
500
501Returns:
502  An object of the form:
503
504    { # Represents an Operation resource.
505      #
506      # You can use an operation resource to manage asynchronous API requests. For more information, read Handling API responses.
507      #
508      # Operations can be global, regional or zonal.
509      # - For global operations, use the globalOperations resource.
510      # - For regional operations, use the regionOperations resource.
511      # - For zonal operations, use the zonalOperations resource.
512      #
513      # For more information, read  Global, Regional, and Zonal Resources. (== resource_for v1.globalOperations ==) (== resource_for beta.globalOperations ==) (== resource_for v1.regionOperations ==) (== resource_for beta.regionOperations ==) (== resource_for v1.zoneOperations ==) (== resource_for beta.zoneOperations ==)
514    "targetId": "A String", # [Output Only] The unique target ID, which identifies a specific incarnation of the target resource.
515    "clientOperationId": "A String", # [Output Only] The value of `requestId` if you provided it in the request. Not present otherwise.
516    "creationTimestamp": "A String", # [Deprecated] This field is deprecated.
517    "id": "A String", # [Output Only] The unique identifier for the resource. This identifier is defined by the server.
518    "zone": "A String", # [Output Only] The URL of the zone where the operation resides. Only applicable when performing per-zone operations.
519    "insertTime": "A String", # [Output Only] The time that this operation was requested. This value is in RFC3339 text format.
520    "operationType": "A String", # [Output Only] The type of operation, such as insert, update, or delete, and so on.
521    "httpErrorMessage": "A String", # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as NOT FOUND.
522    "progress": 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.
523    "httpErrorStatusCode": 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.
524    "statusMessage": "A String", # [Output Only] An optional textual description of the current status of the operation.
525    "status": "A String", # [Output Only] The status of the operation, which can be one of the following: PENDING, RUNNING, or DONE.
526    "description": "A String", # [Output Only] A textual description of the operation, which is set when the operation is created.
527    "warnings": [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated.
528      {
529        "message": "A String", # [Output Only] A human-readable description of the warning code.
530        "code": "A String", # [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.
531        "data": [ # [Output Only] Metadata about this warning in key: value format. For example:
532            # "data": [ { "key": "scope", "value": "zones/us-east1-d" }
533          {
534            "value": "A String", # [Output Only] A warning data value corresponding to the key.
535            "key": "A String", # [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).
536          },
537        ],
538      },
539    ],
540    "user": "A String", # [Output Only] User who requested the operation, for example: user@example.com.
541    "startTime": "A String", # [Output Only] The time that this operation was started by the server. This value is in RFC3339 text format.
542    "kind": "compute#operation", # [Output Only] Type of the resource. Always compute#operation for Operation resources.
543    "name": "A String", # [Output Only] Name of the resource.
544    "region": "A String", # [Output Only] The URL of the region where the operation resides. Only applicable when performing regional operations.
545    "error": { # [Output Only] If errors are generated during processing of the operation, this field will be populated.
546      "errors": [ # [Output Only] The array of errors encountered while processing this operation.
547        {
548          "message": "A String", # [Output Only] An optional, human-readable error message.
549          "code": "A String", # [Output Only] The error type identifier for this error.
550          "location": "A String", # [Output Only] Indicates the field in the request that caused the error. This property is optional.
551        },
552      ],
553    },
554    "endTime": "A String", # [Output Only] The time that this operation was completed. This value is in RFC3339 text format.
555    "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
556    "targetLink": "A String", # [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.
557  }</pre>
558</div>
559
560<div class="method">
561    <code class="details" id="testIamPermissions">testIamPermissions(project, resource, body)</code>
562  <pre>Returns permissions that a caller has on the specified resource.
563
564Args:
565  project: string, Project ID for this request. (required)
566  resource: string, Name or id of the resource for this request. (required)
567  body: object, The request body. (required)
568    The object takes the form of:
569
570{
571    "permissions": [ # The set of permissions to check for the 'resource'. Permissions with wildcards (such as '*' or 'storage.*') are not allowed.
572      "A String",
573    ],
574  }
575
576
577Returns:
578  An object of the form:
579
580    {
581    "permissions": [ # A subset of `TestPermissionsRequest.permissions` that the caller is allowed.
582      "A String",
583    ],
584  }</pre>
585</div>
586
587</body></html>