- HTTP request
- Path parameters
- Request body
- Response body
- Authorization Scopes
- IAM Permissions
- Examples
- Try it!
Lists all of the ordered rules present in a single specified policy.
HTTP request
GET https://compute.googleapis.com/compute/beta/projects/{project}/global/sslPolicies/{resourceId}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
project |
Project ID for this request. |
resourceId |
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
If successful, the response body contains data with the following structure:
JSON representation | |
---|---|
{ "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 } ] } ], "kind": string } |
Fields | |
---|---|
id |
[Output Only] The unique identifier for the resource. This identifier is defined by the server. |
creationTimestamp |
[Output Only] Creation timestamp in RFC3339 text format. |
selfLink |
[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 |
minTlsVersion |
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 |
enabledFeatures[] |
[Output Only] The list of features enabled in the SSL policy. |
customFeatures[] |
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[].code |
[Output Only] A warning code, if applicable. For example, Compute Engine returns |
warnings[].message |
[Output Only] A human-readable description of the warning code. |
warnings[].data[] |
[Output Only] Metadata about this warning in "data": [ { "key": "scope", "value": "zones/us-east1-d" } |
warnings[].data[].key |
[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[].data[].value |
[Output Only] A warning data value corresponding to the key. |
kind |
[Output only] Type of the resource. Always |
Authorization Scopes
Requires one of the following OAuth scopes:
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.