• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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_alpha.html">Compute Engine API</a> . <a href="compute_alpha.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    "selfLinkWithId": "A String", # [Output Only] Server-defined URL for this resource with the resource id.
155    "user": "A String", # [Output Only] User who requested the operation, for example: user@example.com.
156    "startTime": "A String", # [Output Only] The time that this operation was started by the server. This value is in RFC3339 text format.
157    "kind": "compute#operation", # [Output Only] Type of the resource. Always compute#operation for Operation resources.
158    "name": "A String", # [Output Only] Name of the resource.
159    "region": "A String", # [Output Only] The URL of the region where the operation resides. Only applicable when performing regional operations.
160    "error": { # [Output Only] If errors are generated during processing of the operation, this field will be populated.
161      "errors": [ # [Output Only] The array of errors encountered while processing this operation.
162        {
163          "message": "A String", # [Output Only] An optional, human-readable error message.
164          "code": "A String", # [Output Only] The error type identifier for this error.
165          "location": "A String", # [Output Only] Indicates the field in the request that caused the error. This property is optional.
166        },
167      ],
168    },
169    "endTime": "A String", # [Output Only] The time that this operation was completed. This value is in RFC3339 text format.
170    "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
171    "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.
172  }</pre>
173</div>
174
175<div class="method">
176    <code class="details" id="get">get(project, sslPolicy)</code>
177  <pre>Lists all of the ordered rules present in a single specified policy.
178
179Args:
180  project: string, Project ID for this request. (required)
181  sslPolicy: string, Name of the SSL policy to update. The name must be 1-63 characters long, and comply with RFC1035. (required)
182
183Returns:
184  An object of the form:
185
186    { # 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.
187      "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.
188      "kind": "compute#sslPolicy", # [Output only] Type of the resource. Always compute#sslPolicyfor SSL policies.
189      "description": "A String", # An optional description of this resource. Provide this property when you create the resource.
190      "warnings": [ # [Output Only] If potential misconfigurations are detected for this SSL policy, this field will be populated with warning messages.
191        {
192          "message": "A String", # [Output Only] A human-readable description of the warning code.
193          "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.
194          "data": [ # [Output Only] Metadata about this warning in key: value format. For example:
195              # "data": [ { "key": "scope", "value": "zones/us-east1-d" }
196            {
197              "value": "A String", # [Output Only] A warning data value corresponding to the key.
198              "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).
199            },
200          ],
201        },
202      ],
203      "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.
204      "tlsSettings": { # The TLS settings for the server. # Security settings for the proxy. This field is only applicable to a global backend service with the loadBalancingScheme set to INTERNAL_SELF_MANAGED.
205        "subjectAltNames": [ # A list of alternate names to verify the subject identity in the certificate presented by the client.
206          "A String",
207        ],
208        "tlsMode": "A String", # Indicates whether connections should be secured using TLS. The value of this field determines how TLS is enforced. This field can be set to one of the following:
209            # - SIMPLE Secure connections with standard TLS semantics.
210            # - MUTUAL Secure connections to the backends using mutual TLS by presenting client certificates for authentication.
211        "proxyTlsContext": { # The TLS settings for the client or server. # Configures the mechanism to obtain security certificates and identity information.
212          "certificateContext": { # Defines the mechanism to obtain the client or server certificate. # Defines the mechanism to obtain the client or server certificate.
213            "sdsConfig": { # The configuration to access the SDS server. # Specifies the config to retrieve certificates through SDS. This field is applicable only if tlsCertificateSource is set to USE_SDS.
214              "grpcServiceConfig": { # gRPC config to access the SDS server. # The configuration to access the SDS server over GRPC.
215                "targetUri": "A String", # The target URI of the SDS server.
216                "channelCredentials": { # gRPC channel credentials to access the SDS server. # The channel credentials to access the SDS server.
217                  "certificates": { # The paths to the mounted TLS Certificates and private key. # The call credentials to access the SDS server.
218                    "privateKeyPath": "A String", # The path to the file holding the client or server private key.
219                    "certificatePath": "A String", # The path to the file holding the client or server TLS certificate to use.
220                  },
221                  "channelCredentialType": "A String", # The channel credentials to access the SDS server. This field can be set to one of the following: CERTIFICATES: Use TLS certificates to access the SDS server. GCE_VM: Use local GCE VM credentials to access the SDS server.
222                },
223                "callCredentials": { # gRPC call credentials to access the SDS server. # The call credentials to access the SDS server.
224                  "callCredentialType": "A String", # The type of call credentials to use for GRPC requests to the SDS server. This field can be set to one of the following: ACCESS_TOKEN: An access token is used as call credentials for the SDS server. GCE_VM: The local GCE VM service account credentials are used to access the SDS server. JWT_SERVICE_TOKEN: The user provisioned service account credentials are used to access the SDS server. FROM_PLUGIN: Custom authenticator credentials are used to access the SDS server.
225                  "fromPlugin": { # Custom authenticator credentials. # Custom authenticator credentials.
226                    "name": "A String", # Plugin name.
227                    "structConfig": "A String", # A text proto that conforms to a Struct type definition interpreted by the plugin.
228                  },
229                },
230              },
231            },
232            "certificatePaths": { # The paths to the mounted TLS Certificates and private key. # Specifies the certificate and private key paths. This field is applicable only if tlsCertificateSource is set to USE_PATH.
233              "privateKeyPath": "A String", # The path to the file holding the client or server private key.
234              "certificatePath": "A String", # The path to the file holding the client or server TLS certificate to use.
235            },
236            "certificateSource": "A String", # Defines how TLS certificates are obtained.
237          },
238          "validationContext": { # Defines the mechanism to obtain the Certificate Authority certificate to validate the client/server certificate. # Defines the mechanism to obtain the Certificate Authority certificate to validate the client/server certificate. If omitted, the proxy will not validate the server or client certificate.
239            "validationSource": "A String", # Defines how TLS certificates are obtained.
240            "sdsConfig": { # The configuration to access the SDS server. # Specifies the config to retrieve certificates through SDS. This field is applicable only if tlsCertificateSource is set to USE_SDS.
241              "grpcServiceConfig": { # gRPC config to access the SDS server. # The configuration to access the SDS server over GRPC.
242                "targetUri": "A String", # The target URI of the SDS server.
243                "channelCredentials": { # gRPC channel credentials to access the SDS server. # The channel credentials to access the SDS server.
244                  "certificates": { # The paths to the mounted TLS Certificates and private key. # The call credentials to access the SDS server.
245                    "privateKeyPath": "A String", # The path to the file holding the client or server private key.
246                    "certificatePath": "A String", # The path to the file holding the client or server TLS certificate to use.
247                  },
248                  "channelCredentialType": "A String", # The channel credentials to access the SDS server. This field can be set to one of the following: CERTIFICATES: Use TLS certificates to access the SDS server. GCE_VM: Use local GCE VM credentials to access the SDS server.
249                },
250                "callCredentials": { # gRPC call credentials to access the SDS server. # The call credentials to access the SDS server.
251                  "callCredentialType": "A String", # The type of call credentials to use for GRPC requests to the SDS server. This field can be set to one of the following: ACCESS_TOKEN: An access token is used as call credentials for the SDS server. GCE_VM: The local GCE VM service account credentials are used to access the SDS server. JWT_SERVICE_TOKEN: The user provisioned service account credentials are used to access the SDS server. FROM_PLUGIN: Custom authenticator credentials are used to access the SDS server.
252                  "fromPlugin": { # Custom authenticator credentials. # Custom authenticator credentials.
253                    "name": "A String", # Plugin name.
254                    "structConfig": "A String", # A text proto that conforms to a Struct type definition interpreted by the plugin.
255                  },
256                },
257              },
258            },
259            "certificatePath": "A String", # The path to the file holding the CA certificate to validate the client or server certificate.
260          },
261        },
262      },
263      "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.
264      "customFeatures": [ # A list of features enabled when the selected profile is CUSTOM. The
265          # - method returns the set of features that can be specified in this list. This field must be empty if the profile is not CUSTOM.
266        "A String",
267      ],
268      "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.
269          #
270          # To see the latest fingerprint, make a get() request to retrieve an SslPolicy.
271      "selfLinkWithId": "A String", # [Output Only] Server-defined URL for this resource with the resource id.
272      "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format.
273      "id": "A String", # [Output Only] The unique identifier for the resource. This identifier is defined by the server.
274      "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
275      "enabledFeatures": [ # [Output Only] The list of features enabled in the SSL policy.
276        "A String",
277      ],
278    }</pre>
279</div>
280
281<div class="method">
282    <code class="details" id="insert">insert(project, body, requestId=None)</code>
283  <pre>Returns the specified SSL policy resource. Gets a list of available SSL policies by making a list() request.
284
285Args:
286  project: string, Project ID for this request. (required)
287  body: object, The request body. (required)
288    The object takes the form of:
289
290{ # 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.
291    "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.
292    "kind": "compute#sslPolicy", # [Output only] Type of the resource. Always compute#sslPolicyfor SSL policies.
293    "description": "A String", # An optional description of this resource. Provide this property when you create the resource.
294    "warnings": [ # [Output Only] If potential misconfigurations are detected for this SSL policy, this field will be populated with warning messages.
295      {
296        "message": "A String", # [Output Only] A human-readable description of the warning code.
297        "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.
298        "data": [ # [Output Only] Metadata about this warning in key: value format. For example:
299            # "data": [ { "key": "scope", "value": "zones/us-east1-d" }
300          {
301            "value": "A String", # [Output Only] A warning data value corresponding to the key.
302            "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).
303          },
304        ],
305      },
306    ],
307    "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.
308    "tlsSettings": { # The TLS settings for the server. # Security settings for the proxy. This field is only applicable to a global backend service with the loadBalancingScheme set to INTERNAL_SELF_MANAGED.
309      "subjectAltNames": [ # A list of alternate names to verify the subject identity in the certificate presented by the client.
310        "A String",
311      ],
312      "tlsMode": "A String", # Indicates whether connections should be secured using TLS. The value of this field determines how TLS is enforced. This field can be set to one of the following:
313          # - SIMPLE Secure connections with standard TLS semantics.
314          # - MUTUAL Secure connections to the backends using mutual TLS by presenting client certificates for authentication.
315      "proxyTlsContext": { # The TLS settings for the client or server. # Configures the mechanism to obtain security certificates and identity information.
316        "certificateContext": { # Defines the mechanism to obtain the client or server certificate. # Defines the mechanism to obtain the client or server certificate.
317          "sdsConfig": { # The configuration to access the SDS server. # Specifies the config to retrieve certificates through SDS. This field is applicable only if tlsCertificateSource is set to USE_SDS.
318            "grpcServiceConfig": { # gRPC config to access the SDS server. # The configuration to access the SDS server over GRPC.
319              "targetUri": "A String", # The target URI of the SDS server.
320              "channelCredentials": { # gRPC channel credentials to access the SDS server. # The channel credentials to access the SDS server.
321                "certificates": { # The paths to the mounted TLS Certificates and private key. # The call credentials to access the SDS server.
322                  "privateKeyPath": "A String", # The path to the file holding the client or server private key.
323                  "certificatePath": "A String", # The path to the file holding the client or server TLS certificate to use.
324                },
325                "channelCredentialType": "A String", # The channel credentials to access the SDS server. This field can be set to one of the following: CERTIFICATES: Use TLS certificates to access the SDS server. GCE_VM: Use local GCE VM credentials to access the SDS server.
326              },
327              "callCredentials": { # gRPC call credentials to access the SDS server. # The call credentials to access the SDS server.
328                "callCredentialType": "A String", # The type of call credentials to use for GRPC requests to the SDS server. This field can be set to one of the following: ACCESS_TOKEN: An access token is used as call credentials for the SDS server. GCE_VM: The local GCE VM service account credentials are used to access the SDS server. JWT_SERVICE_TOKEN: The user provisioned service account credentials are used to access the SDS server. FROM_PLUGIN: Custom authenticator credentials are used to access the SDS server.
329                "fromPlugin": { # Custom authenticator credentials. # Custom authenticator credentials.
330                  "name": "A String", # Plugin name.
331                  "structConfig": "A String", # A text proto that conforms to a Struct type definition interpreted by the plugin.
332                },
333              },
334            },
335          },
336          "certificatePaths": { # The paths to the mounted TLS Certificates and private key. # Specifies the certificate and private key paths. This field is applicable only if tlsCertificateSource is set to USE_PATH.
337            "privateKeyPath": "A String", # The path to the file holding the client or server private key.
338            "certificatePath": "A String", # The path to the file holding the client or server TLS certificate to use.
339          },
340          "certificateSource": "A String", # Defines how TLS certificates are obtained.
341        },
342        "validationContext": { # Defines the mechanism to obtain the Certificate Authority certificate to validate the client/server certificate. # Defines the mechanism to obtain the Certificate Authority certificate to validate the client/server certificate. If omitted, the proxy will not validate the server or client certificate.
343          "validationSource": "A String", # Defines how TLS certificates are obtained.
344          "sdsConfig": { # The configuration to access the SDS server. # Specifies the config to retrieve certificates through SDS. This field is applicable only if tlsCertificateSource is set to USE_SDS.
345            "grpcServiceConfig": { # gRPC config to access the SDS server. # The configuration to access the SDS server over GRPC.
346              "targetUri": "A String", # The target URI of the SDS server.
347              "channelCredentials": { # gRPC channel credentials to access the SDS server. # The channel credentials to access the SDS server.
348                "certificates": { # The paths to the mounted TLS Certificates and private key. # The call credentials to access the SDS server.
349                  "privateKeyPath": "A String", # The path to the file holding the client or server private key.
350                  "certificatePath": "A String", # The path to the file holding the client or server TLS certificate to use.
351                },
352                "channelCredentialType": "A String", # The channel credentials to access the SDS server. This field can be set to one of the following: CERTIFICATES: Use TLS certificates to access the SDS server. GCE_VM: Use local GCE VM credentials to access the SDS server.
353              },
354              "callCredentials": { # gRPC call credentials to access the SDS server. # The call credentials to access the SDS server.
355                "callCredentialType": "A String", # The type of call credentials to use for GRPC requests to the SDS server. This field can be set to one of the following: ACCESS_TOKEN: An access token is used as call credentials for the SDS server. GCE_VM: The local GCE VM service account credentials are used to access the SDS server. JWT_SERVICE_TOKEN: The user provisioned service account credentials are used to access the SDS server. FROM_PLUGIN: Custom authenticator credentials are used to access the SDS server.
356                "fromPlugin": { # Custom authenticator credentials. # Custom authenticator credentials.
357                  "name": "A String", # Plugin name.
358                  "structConfig": "A String", # A text proto that conforms to a Struct type definition interpreted by the plugin.
359                },
360              },
361            },
362          },
363          "certificatePath": "A String", # The path to the file holding the CA certificate to validate the client or server certificate.
364        },
365      },
366    },
367    "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.
368    "customFeatures": [ # A list of features enabled when the selected profile is CUSTOM. The
369        # - method returns the set of features that can be specified in this list. This field must be empty if the profile is not CUSTOM.
370      "A String",
371    ],
372    "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.
373        #
374        # To see the latest fingerprint, make a get() request to retrieve an SslPolicy.
375    "selfLinkWithId": "A String", # [Output Only] Server-defined URL for this resource with the resource id.
376    "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format.
377    "id": "A String", # [Output Only] The unique identifier for the resource. This identifier is defined by the server.
378    "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
379    "enabledFeatures": [ # [Output Only] The list of features enabled in the SSL policy.
380      "A String",
381    ],
382  }
383
384  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.
385
386For 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.
387
388The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
389
390Returns:
391  An object of the form:
392
393    { # Represents an Operation resource.
394      #
395      # You can use an operation resource to manage asynchronous API requests. For more information, read Handling API responses.
396      #
397      # Operations can be global, regional or zonal.
398      # - For global operations, use the globalOperations resource.
399      # - For regional operations, use the regionOperations resource.
400      # - For zonal operations, use the zonalOperations resource.
401      #
402      # 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 ==)
403    "targetId": "A String", # [Output Only] The unique target ID, which identifies a specific incarnation of the target resource.
404    "clientOperationId": "A String", # [Output Only] The value of `requestId` if you provided it in the request. Not present otherwise.
405    "creationTimestamp": "A String", # [Deprecated] This field is deprecated.
406    "id": "A String", # [Output Only] The unique identifier for the resource. This identifier is defined by the server.
407    "zone": "A String", # [Output Only] The URL of the zone where the operation resides. Only applicable when performing per-zone operations.
408    "insertTime": "A String", # [Output Only] The time that this operation was requested. This value is in RFC3339 text format.
409    "operationType": "A String", # [Output Only] The type of operation, such as insert, update, or delete, and so on.
410    "httpErrorMessage": "A String", # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as NOT FOUND.
411    "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.
412    "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.
413    "statusMessage": "A String", # [Output Only] An optional textual description of the current status of the operation.
414    "status": "A String", # [Output Only] The status of the operation, which can be one of the following: PENDING, RUNNING, or DONE.
415    "description": "A String", # [Output Only] A textual description of the operation, which is set when the operation is created.
416    "warnings": [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated.
417      {
418        "message": "A String", # [Output Only] A human-readable description of the warning code.
419        "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.
420        "data": [ # [Output Only] Metadata about this warning in key: value format. For example:
421            # "data": [ { "key": "scope", "value": "zones/us-east1-d" }
422          {
423            "value": "A String", # [Output Only] A warning data value corresponding to the key.
424            "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).
425          },
426        ],
427      },
428    ],
429    "selfLinkWithId": "A String", # [Output Only] Server-defined URL for this resource with the resource id.
430    "user": "A String", # [Output Only] User who requested the operation, for example: user@example.com.
431    "startTime": "A String", # [Output Only] The time that this operation was started by the server. This value is in RFC3339 text format.
432    "kind": "compute#operation", # [Output Only] Type of the resource. Always compute#operation for Operation resources.
433    "name": "A String", # [Output Only] Name of the resource.
434    "region": "A String", # [Output Only] The URL of the region where the operation resides. Only applicable when performing regional operations.
435    "error": { # [Output Only] If errors are generated during processing of the operation, this field will be populated.
436      "errors": [ # [Output Only] The array of errors encountered while processing this operation.
437        {
438          "message": "A String", # [Output Only] An optional, human-readable error message.
439          "code": "A String", # [Output Only] The error type identifier for this error.
440          "location": "A String", # [Output Only] Indicates the field in the request that caused the error. This property is optional.
441        },
442      ],
443    },
444    "endTime": "A String", # [Output Only] The time that this operation was completed. This value is in RFC3339 text format.
445    "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
446    "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.
447  }</pre>
448</div>
449
450<div class="method">
451    <code class="details" id="list">list(project, orderBy=None, maxResults=None, pageToken=None, filter=None)</code>
452  <pre>Lists all the SSL policies that have been configured for the specified project.
453
454Args:
455  project: string, Project ID for this request. (required)
456  orderBy: string, Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.
457
458You 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.
459
460Currently, only sorting by name or creationTimestamp desc is supported.
461  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)
462  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.
463  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 <.
464
465For example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.
466
467You 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.
468
469To 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).
470
471Returns:
472  An object of the form:
473
474    {
475    "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.
476    "kind": "compute#sslPoliciesList", # [Output Only] Type of the resource. Always compute#sslPoliciesList for lists of sslPolicies.
477    "items": [ # A list of SslPolicy resources.
478      { # 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.
479          "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.
480          "kind": "compute#sslPolicy", # [Output only] Type of the resource. Always compute#sslPolicyfor SSL policies.
481          "description": "A String", # An optional description of this resource. Provide this property when you create the resource.
482          "warnings": [ # [Output Only] If potential misconfigurations are detected for this SSL policy, this field will be populated with warning messages.
483            {
484              "message": "A String", # [Output Only] A human-readable description of the warning code.
485              "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.
486              "data": [ # [Output Only] Metadata about this warning in key: value format. For example:
487                  # "data": [ { "key": "scope", "value": "zones/us-east1-d" }
488                {
489                  "value": "A String", # [Output Only] A warning data value corresponding to the key.
490                  "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).
491                },
492              ],
493            },
494          ],
495          "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.
496          "tlsSettings": { # The TLS settings for the server. # Security settings for the proxy. This field is only applicable to a global backend service with the loadBalancingScheme set to INTERNAL_SELF_MANAGED.
497            "subjectAltNames": [ # A list of alternate names to verify the subject identity in the certificate presented by the client.
498              "A String",
499            ],
500            "tlsMode": "A String", # Indicates whether connections should be secured using TLS. The value of this field determines how TLS is enforced. This field can be set to one of the following:
501                # - SIMPLE Secure connections with standard TLS semantics.
502                # - MUTUAL Secure connections to the backends using mutual TLS by presenting client certificates for authentication.
503            "proxyTlsContext": { # The TLS settings for the client or server. # Configures the mechanism to obtain security certificates and identity information.
504              "certificateContext": { # Defines the mechanism to obtain the client or server certificate. # Defines the mechanism to obtain the client or server certificate.
505                "sdsConfig": { # The configuration to access the SDS server. # Specifies the config to retrieve certificates through SDS. This field is applicable only if tlsCertificateSource is set to USE_SDS.
506                  "grpcServiceConfig": { # gRPC config to access the SDS server. # The configuration to access the SDS server over GRPC.
507                    "targetUri": "A String", # The target URI of the SDS server.
508                    "channelCredentials": { # gRPC channel credentials to access the SDS server. # The channel credentials to access the SDS server.
509                      "certificates": { # The paths to the mounted TLS Certificates and private key. # The call credentials to access the SDS server.
510                        "privateKeyPath": "A String", # The path to the file holding the client or server private key.
511                        "certificatePath": "A String", # The path to the file holding the client or server TLS certificate to use.
512                      },
513                      "channelCredentialType": "A String", # The channel credentials to access the SDS server. This field can be set to one of the following: CERTIFICATES: Use TLS certificates to access the SDS server. GCE_VM: Use local GCE VM credentials to access the SDS server.
514                    },
515                    "callCredentials": { # gRPC call credentials to access the SDS server. # The call credentials to access the SDS server.
516                      "callCredentialType": "A String", # The type of call credentials to use for GRPC requests to the SDS server. This field can be set to one of the following: ACCESS_TOKEN: An access token is used as call credentials for the SDS server. GCE_VM: The local GCE VM service account credentials are used to access the SDS server. JWT_SERVICE_TOKEN: The user provisioned service account credentials are used to access the SDS server. FROM_PLUGIN: Custom authenticator credentials are used to access the SDS server.
517                      "fromPlugin": { # Custom authenticator credentials. # Custom authenticator credentials.
518                        "name": "A String", # Plugin name.
519                        "structConfig": "A String", # A text proto that conforms to a Struct type definition interpreted by the plugin.
520                      },
521                    },
522                  },
523                },
524                "certificatePaths": { # The paths to the mounted TLS Certificates and private key. # Specifies the certificate and private key paths. This field is applicable only if tlsCertificateSource is set to USE_PATH.
525                  "privateKeyPath": "A String", # The path to the file holding the client or server private key.
526                  "certificatePath": "A String", # The path to the file holding the client or server TLS certificate to use.
527                },
528                "certificateSource": "A String", # Defines how TLS certificates are obtained.
529              },
530              "validationContext": { # Defines the mechanism to obtain the Certificate Authority certificate to validate the client/server certificate. # Defines the mechanism to obtain the Certificate Authority certificate to validate the client/server certificate. If omitted, the proxy will not validate the server or client certificate.
531                "validationSource": "A String", # Defines how TLS certificates are obtained.
532                "sdsConfig": { # The configuration to access the SDS server. # Specifies the config to retrieve certificates through SDS. This field is applicable only if tlsCertificateSource is set to USE_SDS.
533                  "grpcServiceConfig": { # gRPC config to access the SDS server. # The configuration to access the SDS server over GRPC.
534                    "targetUri": "A String", # The target URI of the SDS server.
535                    "channelCredentials": { # gRPC channel credentials to access the SDS server. # The channel credentials to access the SDS server.
536                      "certificates": { # The paths to the mounted TLS Certificates and private key. # The call credentials to access the SDS server.
537                        "privateKeyPath": "A String", # The path to the file holding the client or server private key.
538                        "certificatePath": "A String", # The path to the file holding the client or server TLS certificate to use.
539                      },
540                      "channelCredentialType": "A String", # The channel credentials to access the SDS server. This field can be set to one of the following: CERTIFICATES: Use TLS certificates to access the SDS server. GCE_VM: Use local GCE VM credentials to access the SDS server.
541                    },
542                    "callCredentials": { # gRPC call credentials to access the SDS server. # The call credentials to access the SDS server.
543                      "callCredentialType": "A String", # The type of call credentials to use for GRPC requests to the SDS server. This field can be set to one of the following: ACCESS_TOKEN: An access token is used as call credentials for the SDS server. GCE_VM: The local GCE VM service account credentials are used to access the SDS server. JWT_SERVICE_TOKEN: The user provisioned service account credentials are used to access the SDS server. FROM_PLUGIN: Custom authenticator credentials are used to access the SDS server.
544                      "fromPlugin": { # Custom authenticator credentials. # Custom authenticator credentials.
545                        "name": "A String", # Plugin name.
546                        "structConfig": "A String", # A text proto that conforms to a Struct type definition interpreted by the plugin.
547                      },
548                    },
549                  },
550                },
551                "certificatePath": "A String", # The path to the file holding the CA certificate to validate the client or server certificate.
552              },
553            },
554          },
555          "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.
556          "customFeatures": [ # A list of features enabled when the selected profile is CUSTOM. The
557              # - method returns the set of features that can be specified in this list. This field must be empty if the profile is not CUSTOM.
558            "A String",
559          ],
560          "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.
561              #
562              # To see the latest fingerprint, make a get() request to retrieve an SslPolicy.
563          "selfLinkWithId": "A String", # [Output Only] Server-defined URL for this resource with the resource id.
564          "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format.
565          "id": "A String", # [Output Only] The unique identifier for the resource. This identifier is defined by the server.
566          "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
567          "enabledFeatures": [ # [Output Only] The list of features enabled in the SSL policy.
568            "A String",
569          ],
570        },
571    ],
572    "warning": { # [Output Only] Informational warning message.
573      "message": "A String", # [Output Only] A human-readable description of the warning code.
574      "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.
575      "data": [ # [Output Only] Metadata about this warning in key: value format. For example:
576          # "data": [ { "key": "scope", "value": "zones/us-east1-d" }
577        {
578          "value": "A String", # [Output Only] A warning data value corresponding to the key.
579          "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).
580        },
581      ],
582    },
583    "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server.
584    "selfLink": "A String", # [Output Only] Server-defined URL for this resource.
585  }</pre>
586</div>
587
588<div class="method">
589    <code class="details" id="listAvailableFeatures">listAvailableFeatures(project, orderBy=None, maxResults=None, pageToken=None, filter=None)</code>
590  <pre>Lists all features that can be specified in the SSL policy when using custom profile.
591
592Args:
593  project: string, Project ID for this request. (required)
594  orderBy: string, Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.
595
596You 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.
597
598Currently, only sorting by name or creationTimestamp desc is supported.
599  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)
600  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.
601  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 <.
602
603For example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.
604
605You 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.
606
607To 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).
608
609Returns:
610  An object of the form:
611
612    {
613    "features": [
614      "A String",
615    ],
616  }</pre>
617</div>
618
619<div class="method">
620    <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
621  <pre>Retrieves the next page of results.
622
623Args:
624  previous_request: The request for the previous page. (required)
625  previous_response: The response from the request for the previous page. (required)
626
627Returns:
628  A request object that you can call 'execute()' on to request the next
629  page. Returns None if there are no more items in the collection.
630    </pre>
631</div>
632
633<div class="method">
634    <code class="details" id="patch">patch(project, sslPolicy, body, requestId=None)</code>
635  <pre>Patches the specified SSL policy with the data included in the request.
636
637Args:
638  project: string, Project ID for this request. (required)
639  sslPolicy: string, Name of the SSL policy to update. The name must be 1-63 characters long, and comply with RFC1035. (required)
640  body: object, The request body. (required)
641    The object takes the form of:
642
643{ # 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.
644    "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.
645    "kind": "compute#sslPolicy", # [Output only] Type of the resource. Always compute#sslPolicyfor SSL policies.
646    "description": "A String", # An optional description of this resource. Provide this property when you create the resource.
647    "warnings": [ # [Output Only] If potential misconfigurations are detected for this SSL policy, this field will be populated with warning messages.
648      {
649        "message": "A String", # [Output Only] A human-readable description of the warning code.
650        "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.
651        "data": [ # [Output Only] Metadata about this warning in key: value format. For example:
652            # "data": [ { "key": "scope", "value": "zones/us-east1-d" }
653          {
654            "value": "A String", # [Output Only] A warning data value corresponding to the key.
655            "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).
656          },
657        ],
658      },
659    ],
660    "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.
661    "tlsSettings": { # The TLS settings for the server. # Security settings for the proxy. This field is only applicable to a global backend service with the loadBalancingScheme set to INTERNAL_SELF_MANAGED.
662      "subjectAltNames": [ # A list of alternate names to verify the subject identity in the certificate presented by the client.
663        "A String",
664      ],
665      "tlsMode": "A String", # Indicates whether connections should be secured using TLS. The value of this field determines how TLS is enforced. This field can be set to one of the following:
666          # - SIMPLE Secure connections with standard TLS semantics.
667          # - MUTUAL Secure connections to the backends using mutual TLS by presenting client certificates for authentication.
668      "proxyTlsContext": { # The TLS settings for the client or server. # Configures the mechanism to obtain security certificates and identity information.
669        "certificateContext": { # Defines the mechanism to obtain the client or server certificate. # Defines the mechanism to obtain the client or server certificate.
670          "sdsConfig": { # The configuration to access the SDS server. # Specifies the config to retrieve certificates through SDS. This field is applicable only if tlsCertificateSource is set to USE_SDS.
671            "grpcServiceConfig": { # gRPC config to access the SDS server. # The configuration to access the SDS server over GRPC.
672              "targetUri": "A String", # The target URI of the SDS server.
673              "channelCredentials": { # gRPC channel credentials to access the SDS server. # The channel credentials to access the SDS server.
674                "certificates": { # The paths to the mounted TLS Certificates and private key. # The call credentials to access the SDS server.
675                  "privateKeyPath": "A String", # The path to the file holding the client or server private key.
676                  "certificatePath": "A String", # The path to the file holding the client or server TLS certificate to use.
677                },
678                "channelCredentialType": "A String", # The channel credentials to access the SDS server. This field can be set to one of the following: CERTIFICATES: Use TLS certificates to access the SDS server. GCE_VM: Use local GCE VM credentials to access the SDS server.
679              },
680              "callCredentials": { # gRPC call credentials to access the SDS server. # The call credentials to access the SDS server.
681                "callCredentialType": "A String", # The type of call credentials to use for GRPC requests to the SDS server. This field can be set to one of the following: ACCESS_TOKEN: An access token is used as call credentials for the SDS server. GCE_VM: The local GCE VM service account credentials are used to access the SDS server. JWT_SERVICE_TOKEN: The user provisioned service account credentials are used to access the SDS server. FROM_PLUGIN: Custom authenticator credentials are used to access the SDS server.
682                "fromPlugin": { # Custom authenticator credentials. # Custom authenticator credentials.
683                  "name": "A String", # Plugin name.
684                  "structConfig": "A String", # A text proto that conforms to a Struct type definition interpreted by the plugin.
685                },
686              },
687            },
688          },
689          "certificatePaths": { # The paths to the mounted TLS Certificates and private key. # Specifies the certificate and private key paths. This field is applicable only if tlsCertificateSource is set to USE_PATH.
690            "privateKeyPath": "A String", # The path to the file holding the client or server private key.
691            "certificatePath": "A String", # The path to the file holding the client or server TLS certificate to use.
692          },
693          "certificateSource": "A String", # Defines how TLS certificates are obtained.
694        },
695        "validationContext": { # Defines the mechanism to obtain the Certificate Authority certificate to validate the client/server certificate. # Defines the mechanism to obtain the Certificate Authority certificate to validate the client/server certificate. If omitted, the proxy will not validate the server or client certificate.
696          "validationSource": "A String", # Defines how TLS certificates are obtained.
697          "sdsConfig": { # The configuration to access the SDS server. # Specifies the config to retrieve certificates through SDS. This field is applicable only if tlsCertificateSource is set to USE_SDS.
698            "grpcServiceConfig": { # gRPC config to access the SDS server. # The configuration to access the SDS server over GRPC.
699              "targetUri": "A String", # The target URI of the SDS server.
700              "channelCredentials": { # gRPC channel credentials to access the SDS server. # The channel credentials to access the SDS server.
701                "certificates": { # The paths to the mounted TLS Certificates and private key. # The call credentials to access the SDS server.
702                  "privateKeyPath": "A String", # The path to the file holding the client or server private key.
703                  "certificatePath": "A String", # The path to the file holding the client or server TLS certificate to use.
704                },
705                "channelCredentialType": "A String", # The channel credentials to access the SDS server. This field can be set to one of the following: CERTIFICATES: Use TLS certificates to access the SDS server. GCE_VM: Use local GCE VM credentials to access the SDS server.
706              },
707              "callCredentials": { # gRPC call credentials to access the SDS server. # The call credentials to access the SDS server.
708                "callCredentialType": "A String", # The type of call credentials to use for GRPC requests to the SDS server. This field can be set to one of the following: ACCESS_TOKEN: An access token is used as call credentials for the SDS server. GCE_VM: The local GCE VM service account credentials are used to access the SDS server. JWT_SERVICE_TOKEN: The user provisioned service account credentials are used to access the SDS server. FROM_PLUGIN: Custom authenticator credentials are used to access the SDS server.
709                "fromPlugin": { # Custom authenticator credentials. # Custom authenticator credentials.
710                  "name": "A String", # Plugin name.
711                  "structConfig": "A String", # A text proto that conforms to a Struct type definition interpreted by the plugin.
712                },
713              },
714            },
715          },
716          "certificatePath": "A String", # The path to the file holding the CA certificate to validate the client or server certificate.
717        },
718      },
719    },
720    "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.
721    "customFeatures": [ # A list of features enabled when the selected profile is CUSTOM. The
722        # - method returns the set of features that can be specified in this list. This field must be empty if the profile is not CUSTOM.
723      "A String",
724    ],
725    "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.
726        #
727        # To see the latest fingerprint, make a get() request to retrieve an SslPolicy.
728    "selfLinkWithId": "A String", # [Output Only] Server-defined URL for this resource with the resource id.
729    "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format.
730    "id": "A String", # [Output Only] The unique identifier for the resource. This identifier is defined by the server.
731    "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
732    "enabledFeatures": [ # [Output Only] The list of features enabled in the SSL policy.
733      "A String",
734    ],
735  }
736
737  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.
738
739For 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.
740
741The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
742
743Returns:
744  An object of the form:
745
746    { # Represents an Operation resource.
747      #
748      # You can use an operation resource to manage asynchronous API requests. For more information, read Handling API responses.
749      #
750      # Operations can be global, regional or zonal.
751      # - For global operations, use the globalOperations resource.
752      # - For regional operations, use the regionOperations resource.
753      # - For zonal operations, use the zonalOperations resource.
754      #
755      # 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 ==)
756    "targetId": "A String", # [Output Only] The unique target ID, which identifies a specific incarnation of the target resource.
757    "clientOperationId": "A String", # [Output Only] The value of `requestId` if you provided it in the request. Not present otherwise.
758    "creationTimestamp": "A String", # [Deprecated] This field is deprecated.
759    "id": "A String", # [Output Only] The unique identifier for the resource. This identifier is defined by the server.
760    "zone": "A String", # [Output Only] The URL of the zone where the operation resides. Only applicable when performing per-zone operations.
761    "insertTime": "A String", # [Output Only] The time that this operation was requested. This value is in RFC3339 text format.
762    "operationType": "A String", # [Output Only] The type of operation, such as insert, update, or delete, and so on.
763    "httpErrorMessage": "A String", # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as NOT FOUND.
764    "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.
765    "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.
766    "statusMessage": "A String", # [Output Only] An optional textual description of the current status of the operation.
767    "status": "A String", # [Output Only] The status of the operation, which can be one of the following: PENDING, RUNNING, or DONE.
768    "description": "A String", # [Output Only] A textual description of the operation, which is set when the operation is created.
769    "warnings": [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated.
770      {
771        "message": "A String", # [Output Only] A human-readable description of the warning code.
772        "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.
773        "data": [ # [Output Only] Metadata about this warning in key: value format. For example:
774            # "data": [ { "key": "scope", "value": "zones/us-east1-d" }
775          {
776            "value": "A String", # [Output Only] A warning data value corresponding to the key.
777            "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).
778          },
779        ],
780      },
781    ],
782    "selfLinkWithId": "A String", # [Output Only] Server-defined URL for this resource with the resource id.
783    "user": "A String", # [Output Only] User who requested the operation, for example: user@example.com.
784    "startTime": "A String", # [Output Only] The time that this operation was started by the server. This value is in RFC3339 text format.
785    "kind": "compute#operation", # [Output Only] Type of the resource. Always compute#operation for Operation resources.
786    "name": "A String", # [Output Only] Name of the resource.
787    "region": "A String", # [Output Only] The URL of the region where the operation resides. Only applicable when performing regional operations.
788    "error": { # [Output Only] If errors are generated during processing of the operation, this field will be populated.
789      "errors": [ # [Output Only] The array of errors encountered while processing this operation.
790        {
791          "message": "A String", # [Output Only] An optional, human-readable error message.
792          "code": "A String", # [Output Only] The error type identifier for this error.
793          "location": "A String", # [Output Only] Indicates the field in the request that caused the error. This property is optional.
794        },
795      ],
796    },
797    "endTime": "A String", # [Output Only] The time that this operation was completed. This value is in RFC3339 text format.
798    "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
799    "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.
800  }</pre>
801</div>
802
803<div class="method">
804    <code class="details" id="testIamPermissions">testIamPermissions(project, resource, body)</code>
805  <pre>Returns permissions that a caller has on the specified resource.
806
807Args:
808  project: string, Project ID for this request. (required)
809  resource: string, Name or id of the resource for this request. (required)
810  body: object, The request body. (required)
811    The object takes the form of:
812
813{
814    "permissions": [ # The set of permissions to check for the 'resource'. Permissions with wildcards (such as '*' or 'storage.*') are not allowed.
815      "A String",
816    ],
817  }
818
819
820Returns:
821  An object of the form:
822
823    {
824    "permissions": [ # A subset of `TestPermissionsRequest.permissions` that the caller is allowed.
825      "A String",
826    ],
827  }</pre>
828</div>
829
830</body></html>