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) — 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) — Required. ServerTlsPolicy resource to be created.
Returns
- (::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".