# Network Security V1beta1 API - Class Google::Cloud::NetworkSecurity::V1beta1::CreateServerTlsPolicyRequest (v0.17.0)

0.17.0 (latest) 0.16.0 0.15.0 0.14.0 0.13.1 0.12.0 0.11.0 0.10.1 0.9.0 0.8.1 0.7.2 0.6.0 0.5.1 0.4.0 0.3.0 0.2.0 0.1.2 Reference documentation and code samples for the Network Security V1beta1 API class Google::Cloud::NetworkSecurity::V1beta1::CreateServerTlsPolicyRequest.

Request used by the CreateServerTlsPolicy method.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #parent

    def parent() -> ::String

**Returns**

- (::String) --- Required. The parent resource of the ServerTlsPolicy. Must be in the format `projects/*/locations/{location}`.

### #parent=

    def parent=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. The parent resource of the ServerTlsPolicy. Must be in the format `projects/*/locations/{location}`.
**Returns**

- (::String) --- Required. The parent resource of the ServerTlsPolicy. Must be in the format `projects/*/locations/{location}`.

### #server_tls_policy

    def server_tls_policy() -> ::Google::Cloud::NetworkSecurity::V1beta1::ServerTlsPolicy

**Returns**

- ([::Google::Cloud::NetworkSecurity::V1beta1::ServerTlsPolicy](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-network_security-v1beta1/latest/Google-Cloud-NetworkSecurity-V1beta1-ServerTlsPolicy)) --- Required. ServerTlsPolicy resource to be created.

### #server_tls_policy=

    def server_tls_policy=(value) -> ::Google::Cloud::NetworkSecurity::V1beta1::ServerTlsPolicy

**Parameter**

- **value** ([::Google::Cloud::NetworkSecurity::V1beta1::ServerTlsPolicy](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-network_security-v1beta1/latest/Google-Cloud-NetworkSecurity-V1beta1-ServerTlsPolicy)) --- Required. ServerTlsPolicy resource to be created.
**Returns**

- ([::Google::Cloud::NetworkSecurity::V1beta1::ServerTlsPolicy](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-network_security-v1beta1/latest/Google-Cloud-NetworkSecurity-V1beta1-ServerTlsPolicy)) --- Required. ServerTlsPolicy resource to be created.

### #server_tls_policy_id

    def server_tls_policy_id() -> ::String

**Returns**

- (::String) --- 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".

### #server_tls_policy_id=

    def server_tls_policy_id=(value) -> ::String

**Parameter**

- **value** (::String) --- 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".
**Returns**

- (::String) --- 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".