Class: Google::Apis::AppengineV1alpha::SslSettings
- Inherits:
-
Object
- Object
- Google::Apis::AppengineV1alpha::SslSettings
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/appengine_v1alpha/classes.rb,
lib/google/apis/appengine_v1alpha/representations.rb,
lib/google/apis/appengine_v1alpha/representations.rb
Overview
SSL configuration for a DomainMapping resource.
Instance Attribute Summary collapse
-
#certificate_id ⇒ String
ID of the AuthorizedCertificate resource configuring SSL for the application.
-
#is_managed_certificate ⇒ Boolean
(also: #is_managed_certificate?)
Whether the mapped certificate is an App Engine managed certificate.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SslSettings
constructor
A new instance of SslSettings.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SslSettings
Returns a new instance of SslSettings.
1071 1072 1073 |
# File 'lib/google/apis/appengine_v1alpha/classes.rb', line 1071 def initialize(**args) update!(**args) end |
Instance Attribute Details
#certificate_id ⇒ String
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
1061 1062 1063 |
# File 'lib/google/apis/appengine_v1alpha/classes.rb', line 1061 def certificate_id @certificate_id end |
#is_managed_certificate ⇒ Boolean 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
1068 1069 1070 |
# File 'lib/google/apis/appengine_v1alpha/classes.rb', line 1068 def is_managed_certificate @is_managed_certificate end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1076 1077 1078 1079 |
# File 'lib/google/apis/appengine_v1alpha/classes.rb', line 1076 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 |