v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-1363121226.6 KB
projects

Creates a new ServerTlsPolicy in a given project and location.

post/v1/{+parent}/serverTlsPolicies

Path parameters

parentstring required

Required. The parent resource of the ServerTlsPolicy. Must be in the format projects/*/locations/{location}.

Query parameters

serverTlsPolicyIdstring

Required. Short name of the ServerTlsPolicy resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and should not start with a number. E.g. "server_mtls_policy".

Request body

updateTimestring google-datetime

Output only. The timestamp when the resource was updated.

namestring

Required. Name of the ServerTlsPolicy resource. It matches the pattern projects/*/locations/{location}/serverTlsPolicies/{server_tls_policy}

allowOpenboolean

This field applies only for Traffic Director policies. It is must be set to false for Application Load Balancer policies. Determines if server allows plaintext connections. If set to true, server allows plain text connections. By default, it is set to false. This setting is not exclusive of other encryption modes. For example, if allow_open and mtls_policy are set, server allows both plain text and mTLS connections. See documentation of other encryption modes to confirm compatibility. Consider using it if you wish to upgrade in place your deployment to TLS while having mixed TLS and non-TLS traffic reaching port :80.

descriptionstring

Free-text description of the resource.

createTimestring google-datetime

Output only. The timestamp when the resource was created.

labelsobject

Set of label tags associated with the resource.

Response

Successful response