Class: Google::Apis::AppengineV1alpha::SslSettings

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/appengine_v1alpha/classes.rb,
generated/google/apis/appengine_v1alpha/representations.rb,
generated/google/apis/appengine_v1alpha/representations.rb

Overview

SSL configuration for a DomainMapping resource.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ SslSettings

Returns a new instance of SslSettings.


827
828
829
# File 'generated/google/apis/appengine_v1alpha/classes.rb', line 827

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

Instance Attribute Details

#certificate_idString

ID of the AuthorizedCertificate resource configuring SSL for the application. Clearing this field will remove SSL support.By default, a managed certificate is automatically created for every domain mapping. To omit SSL support or to configure SSL manually, specify no_managed_certificate on a CREATE or UPDATE request. You must be authorized to administer the AuthorizedCertificate resource to manually map it to a DomainMapping resource. Example: 12345. Corresponds to the JSON property certificateId

Returns:

  • (String)

817
818
819
# File 'generated/google/apis/appengine_v1alpha/classes.rb', line 817

def certificate_id
  @certificate_id
end

#is_managed_certificateBoolean Also known as: is_managed_certificate?

Whether the mapped certificate is an App Engine managed certificate. Managed certificates are created by default with a domain mapping. To opt out, specify no_managed_certificate on a CREATE or UPDATE [email protected] Corresponds to the JSON property isManagedCertificate

Returns:

  • (Boolean)

824
825
826
# File 'generated/google/apis/appengine_v1alpha/classes.rb', line 824

def is_managed_certificate
  @is_managed_certificate
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


832
833
834
835
# File 'generated/google/apis/appengine_v1alpha/classes.rb', line 832

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