- HTTP request
- Path parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- Try it!
Lists all of the ordered rules present in a single specified policy.
HTTP request
GET https://compute.googleapis.com/compute/v1/projects/{project}/global/sslPolicies/{sslPolicy}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
project |
Project ID for this request. |
ssl |
Name of the SSL policy to update. The name must be 1-63 characters long, and comply with RFC1035. |
Request body
The request body must be empty.
Response body
Represents an SSL Policy resource.
Use SSL policies to control SSL features, such as versions and cipher suites, that are offered by Application Load Balancers and proxy Network Load Balancers. For more information, read SSL policies overview.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{ "kind": string, "id": string, "creationTimestamp": string, "selfLink": string, "name": string, "description": string, "profile": enum, "minTlsVersion": enum, "enabledFeatures": [ string ], "customFeatures": [ string ], "fingerprint": string, "warnings": [ { "code": enum, "message": string, "data": [ { "key": string, "value": string } ] } ], "region": string } |
Fields | |
---|---|
kind |
[Output only] Type of the resource. Always |
id |
[Output Only] The unique identifier for the resource. This identifier is defined by the server. |
creation |
[Output Only] Creation timestamp in RFC3339 text format. |
self |
[Output Only] Server-defined URL for the resource. |
name |
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 |
description |
An optional description of this resource. Provide this property when you create the resource. |
profile |
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 |
min |
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 |
enabled |
[Output Only] The list of features enabled in the SSL policy. |
custom |
A list of features enabled when the selected profile is CUSTOM. The |
fingerprint |
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 To see the latest fingerprint, make a A base64-encoded string. |
warnings[] |
[Output Only] If potential misconfigurations are detected for this SSL policy, this field will be populated with warning messages. |
warnings[]. |
[Output Only] A warning code, if applicable. For example, Compute Engine returns |
warnings[]. |
[Output Only] A human-readable description of the warning code. |
warnings[]. |
[Output Only] Metadata about this warning in "data": [ { "key": "scope", "value": "zones/us-east1-d" } |
warnings[]. |
[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 |
warnings[]. |
[Output Only] A warning data value corresponding to the key. |
region |
[Output Only] URL of the region where the regional SSL policy resides. This field is not applicable to global SSL policies. |
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/compute.readonly
https://www.googleapis.com/auth/compute
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
IAM Permissions
In addition to any permissions specified on the fields above, authorization requires one or more of the following IAM permissions:
compute.sslPolicies.get
To find predefined roles that contain those permissions, see Compute Engine IAM Roles.