class Google::Apis::NetworksecurityV1::ClientTlsPolicy
ClientTlsPolicy
is a resource that specifies how a client should authenticate connections to backends of a service. This resource itself does not affect configuration unless it is attached to a backend service resource.
Attributes
Specification of certificate provider. Defines the mechanism to obtain the certificate and private key for peer to peer authentication. Corresponds to the JSON property `clientCertificate` @return [Google::Apis::NetworksecurityV1::GoogleCloudNetworksecurityV1CertificateProvider]
Output only. The timestamp when the resource was created. Corresponds to the JSON property `createTime` @return [String]
Optional. Free-text description of the resource. Corresponds to the JSON property `description` @return [String]
Optional. Set of label tags associated with the resource. Corresponds to the JSON property `labels` @return [Hash<String,String>]
Required. Name of the ClientTlsPolicy
resource. It matches the pattern ` projects/*/locations/`location`/clientTlsPolicies/`client_tls_policy“ Corresponds to the JSON property `name` @return [String]
Optional. Defines the mechanism to obtain the Certificate Authority certificate to validate the server certificate. If empty, client does not validate the server certificate. Corresponds to the JSON property `serverValidationCa` @return [Array<Google::Apis::NetworksecurityV1::ValidationCa>]
Optional. Server Name Indication string to present to the server during TLS handshake. E.g: “secure.example.com”. Corresponds to the JSON property `sni` @return [String]
Output only. The timestamp when the resource was updated. Corresponds to the JSON property `updateTime` @return [String]
Public Class Methods
# File lib/google/apis/networksecurity_v1/classes.rb, line 176 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/networksecurity_v1/classes.rb, line 181 def update!(**args) @client_certificate = args[:client_certificate] if args.key?(:client_certificate) @create_time = args[:create_time] if args.key?(:create_time) @description = args[:description] if args.key?(:description) @labels = args[:labels] if args.key?(:labels) @name = args[:name] if args.key?(:name) @server_validation_ca = args[:server_validation_ca] if args.key?(:server_validation_ca) @sni = args[:sni] if args.key?(:sni) @update_time = args[:update_time] if args.key?(:update_time) end