Class: Google::Apis::AppengineV1beta::SslSettings
- Inherits:
-
Object
- Object
- Google::Apis::AppengineV1beta::SslSettings
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/appengine_v1beta/classes.rb,
generated/google/apis/appengine_v1beta/representations.rb,
generated/google/apis/appengine_v1beta/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.
-
#pending_managed_certificate_id ⇒ String
ID of the managed AuthorizedCertificate resource currently being provisioned, if applicable.
-
#ssl_management_type ⇒ String
SSL management type for this domain.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SslSettings
constructor
A new instance of SslSettings.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ SslSettings
Returns a new instance of SslSettings
2471 2472 2473 |
# File 'generated/google/apis/appengine_v1beta/classes.rb', line 2471 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 SslManagementType.MANUAL 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
2451 2452 2453 |
# File 'generated/google/apis/appengine_v1beta/classes.rb', line 2451 def certificate_id @certificate_id end |
#pending_managed_certificate_id ⇒ String
ID of the managed AuthorizedCertificate resource currently being provisioned,
if applicable. Until the new managed certificate has been successfully
provisioned, the previous SSL state will be preserved. Once the provisioning
process completes, the certificate_id field will reflect the new managed
certificate and this field will be left empty. To remove SSL support while
there is still a pending managed certificate, clear the certificate_id field
with an UpdateDomainMappingRequest.@OutputOnly
Corresponds to the JSON property pendingManagedCertificateId
2462 2463 2464 |
# File 'generated/google/apis/appengine_v1beta/classes.rb', line 2462 def pending_managed_certificate_id @pending_managed_certificate_id end |
#ssl_management_type ⇒ String
SSL management type for this domain. If AUTOMATIC, a managed certificate is
automatically provisioned. If MANUAL, certificate_id must be manually
specified in order to configure SSL for this domain.
Corresponds to the JSON property sslManagementType
2469 2470 2471 |
# File 'generated/google/apis/appengine_v1beta/classes.rb', line 2469 def ssl_management_type @ssl_management_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2476 2477 2478 2479 2480 |
# File 'generated/google/apis/appengine_v1beta/classes.rb', line 2476 def update!(**args) @certificate_id = args[:certificate_id] if args.key?(:certificate_id) @pending_managed_certificate_id = args[:pending_managed_certificate_id] if args.key?(:pending_managed_certificate_id) @ssl_management_type = args[:ssl_management_type] if args.key?(:ssl_management_type) end |