Class: Google::Apis::ComputeBeta::BackendServiceTlsSettingsSubjectAltName

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/compute_beta/classes.rb,
lib/google/apis/compute_beta/representations.rb,
lib/google/apis/compute_beta/representations.rb

Overview

A Subject Alternative Name that the load balancer matches against the SAN field in the TLS certificate provided by the backend, specified as either a DNS name or a URI, in accordance with RFC 5280 4.2.1.6

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BackendServiceTlsSettingsSubjectAltName

Returns a new instance of BackendServiceTlsSettingsSubjectAltName.



5036
5037
5038
# File 'lib/google/apis/compute_beta/classes.rb', line 5036

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#dns_nameString

The SAN specified as a DNS Name. Corresponds to the JSON property dnsName

Returns:

  • (String)


5029
5030
5031
# File 'lib/google/apis/compute_beta/classes.rb', line 5029

def dns_name
  @dns_name
end

#uniform_resource_identifierString

The SAN specified as a URI. Corresponds to the JSON property uniformResourceIdentifier

Returns:

  • (String)


5034
5035
5036
# File 'lib/google/apis/compute_beta/classes.rb', line 5034

def uniform_resource_identifier
  @uniform_resource_identifier
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5041
5042
5043
5044
# File 'lib/google/apis/compute_beta/classes.rb', line 5041

def update!(**args)
  @dns_name = args[:dns_name] if args.key?(:dns_name)
  @uniform_resource_identifier = args[:uniform_resource_identifier] if args.key?(:uniform_resource_identifier)
end