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.



829
830
831
# File 'generated/google/apis/appengine_v1alpha/classes.rb', line 829

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)


819
820
821
# File 'generated/google/apis/appengine_v1alpha/classes.rb', line 819

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 request.@OutputOnly Corresponds to the JSON property isManagedCertificate

Returns:

  • (Boolean)


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

def is_managed_certificate
  @is_managed_certificate
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



834
835
836
837
# File 'generated/google/apis/appengine_v1alpha/classes.rb', line 834

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